new to Laravel (coming from Java spring), while using
Route::get('/', function()
{
return "Hello World!";
});
Above, we dont need to include any header files(in this and all other configuration files for LaraveL), why is this so!, as Route is in a different name-space
Laravel uses the PHP class_alias function[1] to make some core classes available without their namespace. There is a list of these classes used to configure the Laravel\Autoloader class in application/config/application.php in the ‘aliases’ option[2].