__construct() public méthode

public __construct ( Connection $connection, leanmapper\IMapper $mapper, leanmapper\IEntityFactory $entityFactory )
$connection Connection
$mapper leanmapper\IMapper
$entityFactory leanmapper\IEntityFactory
Exemple #1
0
 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;
 }
Exemple #3
0
 /**
  * @param Connection $connection
  * @param IMapper $mapper
  */
 public function __construct(Connection $connection, IMapper $mapper)
 {
     parent::__construct($connection, $mapper);
     //		$this->initFilters();
 }