adspace


What is Middleware Parameters ?

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


Please Help Members By Posting Answers For Below Questions

Do you know what version of laravel do you generally use?

839


Tell us have you used lumen before?

807


What is current stable version of laravel?

869


How much laravel experience do you have?

815


What is latest version of laravel?

868