I am upgrading application written in Laravel 4.2 to Laravel 5.2. I have long namespaces for my controllers and want to shorten them.
For example:
public function register()
{
$this->app->bind('Shortname\Somecontroller', 'Really\Really\Long\Name\Somecontroller');
}
was possible inside custom service provider and works in Laravel 5.1. After I've started migrating to L5.2 it stopped working.
Closest I came to the solution was this issue report: https://github.com/laravel/framework/issues/14920 but it doesn't work either.
Does someone have similar expiriences and was able to solve it?
via boroboris