Example #1
0
File: Upload.php Project: ahie/pics
 public function __construct(Request $request, Response $response, Renderer $renderer, PicRepositoryInterface $repository, FileStorageInterface $fileStorage)
 {
     parent::__construct($request, $response, $renderer);
     $this->repository = $repository;
     $this->fileStorage = $fileStorage;
 }
Example #2
0
 public function __construct(Request $request, Response $response, Renderer $renderer, PicRepositoryInterface $repository)
 {
     parent::__construct($request, $response, $renderer);
     $this->repository = $repository;
 }
Example #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;
 }