function __construct($class, Table $gateway, PropertyInterface ...$properties) {
$this->class = $class;
$this->gateway = $gateway;
function __construct($class, Table $gateway, PropertyInterface ...$properties) {
$this->class = $class;
$this->gateway = $gateway;