I have an old website which was developed in Laravel 5.2 and which for various reasons can't be upgraded from that.
I have a vendor package which, in the boot()
method of one ServiceProvider
, has this line:
$this->loadMigrationsFrom($somewhere);
... but this method did not exist in Laravel 5.2.
What would be the cleanest way to override this errant method-call?
It occurs to me that I might just be able to write a new service-provider class to replace this one, since all it really seems to do is to register one console command. But is there a way to "override" it?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire