Then in another class, we could use App\Cpontrollers\Admin\AuthController.
For Laverel
Lavarel only automatically load all the classes in the top namespace in the composer.json file. If the class does not have namespace ...; in the top of the PHP file, this class would use the top namespace.
Lavarel need to be told namespaces other than the top namespace.
SplObject is good for storing object as an element of the set, or as a key to map.
And according to the benchmark from Matt Butcher , it surpasses the Array when it comes to mapping the objects.