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