My project is a Laravel project
If I have used psr-4 autoloading e.g.
"psr-4": {
"Admin\": "app/www/admin"
}
it works and routes properly to make views inside controllers I use the addNamespace:
View::addNamespace('admin', 'app\www\Admin\views');
return View::make('admin::dashboard');
this works but is there anyway to make the views accessible in the config somewhere? and if so can someone show me an example.
I guess the result I am looking for is like this:
View::make('admin.dashboard');
Thanks so much
Aiden