I would like to add a method to change the
View->setViewPath($path) template catalog.
Because you can't change the folder for the shared class:
Services::renderer(...)
The modified object cannot be returned in the filter. Is this function needed in the framework?
PHP Code:
// Before (default) $theme = 'standart'
// $viewPath = 'Views/'
// $file = 'Views/standart/user/dashboard.php'
return view($theme . '/user/dashboard');
// After setViewPath('Views/standart')
// $viewPath = 'Views/standart'
// $file = 'Views/standart/user/dashboard.php'
return view('/user/dashboard');