Inheritance: extends app\http\controllers\Controller
Esempio n. 1
0
 public function __construct(MediaRepositoryInterface $media)
 {
     parent::__construct();
     $this->media = $media;
 }
Esempio n. 2
0
 /**
  * Create a new authentication controller instance.
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->redirectTo = \Input::get('redirectUrl', '/');
     $this->middleware('guest', ['except' => 'getLogout']);
 }
Esempio n. 3
0
 public function __construct(PostRepositoryInterface $postRepositoryInterface)
 {
     parent::__construct();
     $this->post = $postRepositoryInterface;
 }
Esempio n. 4
0
 public function __construct()
 {
     parent::__construct();
 }
Esempio n. 5
0
 public function __construct(PostRepositoryInterface $post)
 {
     parent::__construct();
     $this->post = $post;
     $this->middleware('auth', ['only' => ['getAdd', 'postAdd']]);
 }