I noticed that when creating a controller in Laravel it says that some methods will return a \Illuminate\Http\Response
object.
I used a dd () at the end of the method and saw the following return: \Illuminate\View\View
and in another method \Illuminate\Http\RedirectResponse
In this case, when documenting methods should I always consider: \Illuminate\Http\Response
or can I insert the visualized object into the output of the dd()
method?