What is Middleware Parameters ?
Answer / nafees ahmad
We can also pass parameters with the Middleware.
The middleware that we create contains the following function and we can pass our custom argument after the $next argument.
Example : public function handle($request, Closure $next)
{
return $next($request);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
How to send mail using queue in laravel 5?
What is difference between implicit and explicit route binding in laravel?
How to Passing Data to Views ?
How do laravel facades work?
How to get, set cookies in laravel?
List types of the relationships supported by laravel?
Which template engine laravel use?
How do I log an error?
What is route in laravel?
What is laravel best for?
What is helper in laravel?
List out the databases laravel supports?