jeudi 17 septembre 2020

How to over ride a Laravel class with my own?

So I am working with Laravel 5.2 and I trying to shift to SQS as my queue serice.

There was a bug in 5.2 in QueueSqs.php which was fixed here -> https://github.com/illuminate/queue/blob/5.6/SqsQueue.php in 5.6

Now I am not sure I can upgrade to 5.6 yet, because a lot of things are working with 5.2 and I don't want to break anything.

But I am sure I can somehow use this class in my code from 5.6 and tell Laravel to use it somehow. But I don't know how to.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire