Working with Laravel 5 for the first time. I understand the use of namespaces and why you need to use them. What I don't understand is why I need to add use statements like the following (at the top of a controller):
use Session;
use Input;
use Response;
I have to do this so that I don't get fatal exceptions like:
Class 'App\Http\Controllers\Session' not found
Maybe I'm missing something?? These classes seem to be part of the framework, and were by default in L4.x.
Can anyone help me understand why this is so in L5 or how I can avoid having to do this with L5?
The Googles have failed me on this one.