Call to undefined method Dusterio\LumenPassport\LumenPassport::ignoreMigrations()
sooxt98 opened this issue · 7 comments
You need to add a back slash in front of the call. Like so:
before: Dusterio\LumenPassport\LumenPassport::ignoreMigrations()
after: \Dusterio\LumenPassport\LumenPassport::ignoreMigrations()
That should do the trick, should be updated in the README
Ahh got you mate.
Didn’t read the issue properly.
I thought you were trying to run the routes method.
I don’t think the ignore migrations method has been implemented in this package though.
You can try running the method directly from the laravel package.
Laravel\Passport\Passport::ignoreMigrations()
Not sure it’ll work but worth a shot.
Hmm might have to add the method to the LumenPassport class then.
Unless you’re up for doing it, I can do it either tonight or tomorrow.
Ahh, that’s no good then. Can’t think of anything else at the moment then mate :)