示例#1
0
 public function __construct(AlbumRepository $album, PhotoRepository $photo, Application $app)
 {
     parent::__construct();
     $this->album = $album;
     $this->photo = $photo;
     $this->app = $app;
 }
示例#2
0
 public function __construct(PageRepository $page, Application $app)
 {
     parent::__construct();
     $this->page = $page;
     $this->app = $app;
 }