public __construct ( |
||
$connection | ||
$mapper | leanmapper\IMapper | |
$entityFactory | leanmapper\IEntityFactory |
public function __construct(Connection $connection, IMapper $mapper, IEntityFactory $entityFactory, EventManager $evm) { parent::__construct($connection, $mapper, $entityFactory); $this->evm = $evm; $this->initKdybyEvents(); }
public function __construct(Connection $connection, IMapper $mapper, IEntityFactory $entityFactory, DomainQueryFactory $queryFactory) { parent::__construct($connection, $mapper, $entityFactory); $this->queryFactory = $queryFactory; }
/** * @param Connection $connection * @param IMapper $mapper */ public function __construct(Connection $connection, IMapper $mapper) { parent::__construct($connection, $mapper); // $this->initFilters(); }