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 |
What is a laravel controller?
How to share your homestead with others.
Name some inbuilt authentication controllers of laravel.
How can you generate urls?
What route model binding?
What is fillable in laravel model?
What is mvc in php laravel?
What do you mean by dusk used in laravel 5?
How to work with an Error in Laravel ?
what is a Listeners ?
What is blade laravel?
Explain events in laravel?