示例#1
0
 public function __construct(AlbumPresenter $presenter, AlbumRepository $repository)
 {
     parent::__construct();
     $this->repository = $repository;
     $this->presenter = $presenter;
 }
示例#2
0
 /**
  * @param PicturePresenter $downloadPresenter
  * @param PictureRepository $partnerRepository
  */
 public function __construct(PicturePresenter $downloadPresenter, PictureRepository $partnerRepository)
 {
     parent::__construct();
     $this->repository = $partnerRepository;
     $this->presenter = $downloadPresenter;
 }