Answer the question
In order to leave comments, you need to log in
How to catch Response object before response in laravel 5?
There is a task to globally control what will be returned by the application (laravel5/lumen).
Using the controller as an example, it could be something like this:
echo '...';
return '...';
return view();
return response('...');
...
if (!$response instedOf Response) {
...
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question