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 do you know about php artisan? Mention some artisan command.
How will you explain homestead in laravel?
What do you understand by orm?
Tell us how long have you been using laravel?
What is ioc container in laravel?
How to use session in laravel?
How to generate urls from named named routes?
How to fetch data from database in laravel?
Is laravel a cms?
What is a facade?
Tell us what are advantages of laravel?
What is the render method?