示例#1
0
文件: Upload.php 项目: 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;
 }
示例#2
0
文件: Frontpage.php 项目: ahie/pics
 public function __construct(Request $request, Response $response, Renderer $renderer, PicRepositoryInterface $repository)
 {
     parent::__construct($request, $response, $renderer);
     $this->repository = $repository;
 }
示例#3
0
文件: Picture.php 项目: ahie/pics
 public function __construct(Request $request, Response $response, Renderer $renderer, PicRepositoryInterface $picRepository, CommentRepositoryInterface $commRepository)
 {
     parent::__construct($request, $response, $renderer);
     $this->picRepository = $picRepository;
     $this->commRepository = $commRepository;
 }