Beispiel #1
0
 public function __construct(Request $request, Response $response, Renderer $renderer, PicRepositoryInterface $repository, FileStorageInterface $fileStorage)
 {
     parent::__construct($request, $response, $renderer);
     $this->repository = $repository;
     $this->fileStorage = $fileStorage;
 }
Beispiel #2
0
 public function __construct(Request $request, Response $response, Renderer $renderer, PicRepositoryInterface $repository)
 {
     parent::__construct($request, $response, $renderer);
     $this->repository = $repository;
 }
Beispiel #3
0
 public function __construct(Request $request, Response $response, Renderer $renderer, PicRepositoryInterface $picRepository, CommentRepositoryInterface $commRepository)
 {
     parent::__construct($request, $response, $renderer);
     $this->picRepository = $picRepository;
     $this->commRepository = $commRepository;
 }