Exemple #1
0
 public function __construct(Nextras\Orm\Entity\IEntity $entity, Nextras\Orm\Repository\IRepository $repository)
 {
     parent::__construct($this->entity = $entity, $repository);
     $this->model = $repository->getModel();
 }
Exemple #2
0
 public function __construct(Ytnuk\Shop\Category\Entity $entity, Ytnuk\Shop\Category\Repository $repository)
 {
     parent::__construct($entity, $repository);
     $this->entity = $entity;
     $this->repository = $repository;
 }
Exemple #3
0
 public function __construct(Ytnuk\Blog\Post\Entity $entity, Ytnuk\Blog\Post\Repository $repository)
 {
     parent::__construct($entity, $repository);
     $this->entity = $entity;
     $this->repository = $repository;
 }