コード例 #1
0
ファイル: HomeController.php プロジェクト: LaraGit/larapress
 public function __construct(Permission $permission, Redirect $redirect, Helpers $helpers, View $view, Sentry $sentry, Captcha $captcha, Input $input, Narrator $narrator, Session $session)
 {
     parent::__construct($helpers);
     $this->permission = $permission;
     $this->redirect = $redirect;
     $this->helpers = $helpers;
     $this->view = $view;
     $this->sentry = $sentry;
     $this->captcha = $captcha;
     $this->input = $input;
     $this->narrator = $narrator;
     $this->session = $session;
 }
コード例 #2
0
 public function __construct(Helpers $helpers, View $view)
 {
     parent::__construct($helpers);
     $this->view = $view;
 }
コード例 #3
0
 public function init()
 {
     parent::init();
 }