상속: extends App\Http\Controllers\Controller
예제 #1
0
 public function __construct(MediaRepositoryInterface $media)
 {
     parent::__construct();
     $this->media = $media;
 }
예제 #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']);
 }
예제 #3
0
 public function __construct(PostRepositoryInterface $postRepositoryInterface)
 {
     parent::__construct();
     $this->post = $postRepositoryInterface;
 }
예제 #4
0
 public function __construct()
 {
     parent::__construct();
 }
예제 #5
0
 public function __construct(PostRepositoryInterface $post)
 {
     parent::__construct();
     $this->post = $post;
     $this->middleware('auth', ['only' => ['getAdd', 'postAdd']]);
 }