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