/** * Create a new password reminder controller instance. * * @param PasswordBroker $passwords * @return \Larabook\Http\Controllers\RemindersController */ public function __construct(PasswordBroker $passwords) { parent::__construct(); $this->passwords = $passwords; $this->beforeFilter('guest'); $this->beforeFilter('csrf', ['on' => ['post']]); }
public function __construct() { parent::__construct(); $this->beforeFilter('guest', ['except' => ['destroy']]); $this->beforeFilter('auth', ['only' => ['logout']]); }
public function __construct() { parent::__construct(); $this->beforeFilter('csrf', ['on' => ['post']]); $this->beforeFilter('guest'); }
public function __construct(UserRepository $repository) { parent::__construct(); $this->repository = $repository; }
public function __construct() { parent::__construct(); $this->beforeFilter('auth'); }