Answer Posted / 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 |
Post New Answer View All Answers
Is laravel better than wordpress?
How do I send 5 emails and a text message efficiently to newly registered users?
What directories that need to be writable laravel installation?
Tell us how long have you been using laravel?
Tell us what are bundles, reverse routing and the ioc container?
What are middlewares in laravel?
What are the requirements to install valet?
What is a pull() ?
Have you used lumen before?
What is laravel cms?
How to get cookies in laravel?
How to enable the query logging?
What is the use of Laravel - Sending Email ?
What are the Forms in Laravel ?
What is meant by Laravel - Ajax ?