In the construct method of the default VerificationController.php of Laravel, I see:
construct
VerificationController.php
/** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); $this->middleware('signed')->only('verify'); $this->middleware('throttle:6,1')->only('verify', 'resend'); }
What do these three middlewares do ?
Only means it is applied to only selected controller methods
2.1m questions
2.1m answers
60 comments
57.0k users