Closed ghost closed 9 years ago
I now see that the package function no longer exists in Laravel 5.
Laravel 4.2: http://laravel.com/api/4.2/Illuminate/Support/ServiceProvider.html Laravel 5: http://laravel.com/api/5.0/Illuminate/Support/ServiceProvider.html
It looks to be replaced with commands() which takes an array of some sort
What version of laravel-doctrine are you using? I believe this issue has already been resolved on the dev branch. laravel-doctrine is not yet L5 supported, but we're almost there.
Ahhh I see, yes... I'm using Laravel 5... That'd be why!
You can start using the master branch if you like as we move towards L5 support.
Unfortunately still uses the package method... But will stay tuned for your updates :)
@jamestrusleroval will close this for now as it is resolved on the laravel 5 dev branch.
After placing the service provider in my providers array, php artisan commands no longer work. Any ideas?
It seems to be the line 29 in the LaravelDoctrineServiceProvider class:
that it fails on