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 share data with views?
Is laravel safe from sql injection?
What are named routes in laravel?
Explain how to retrive all requested data in laravel?
What do you know about php artisan?
What is fluent query builder in laravel?
What getfacadeaccessor method does?
How do I make my application serve its content in different languages?
Explain response in laravel.
Provide system requirements for installation of laravel framework?
How can you update homestead?
What is ioc container in laravel?