Is there any way to access (modify) $request "protected proprieties" in the Middleware, to modify requested Controller:
public function handle($request, Closure $next)
{
// change $request parameter
// $request->server->parameters->REQUEST_URI = "something else";
return $next($request);
}
I want to override requested Controller if Cache is valid for the request,
thanks,
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jHwtJ6
via IFTTT
Aucun commentaire:
Enregistrer un commentaire