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 enable query log in laravel?
What is view laravel?
State the difference between get and post method.
Define @include.
Who are Manually Authenticating Users in Laravel ?
What do you understand by unit testing?
What is system requirement for installation of laravel 5.2 (latest version)?
What getfacadeaccessor method does?
By default valet serve your app on which tld? How to configure it to use another domain?
Is laravel good for api?
Explain to listeners.
How to generate a request in laravel?