lundi 4 juin 2018

How I can use Laravel model observers in lumen instead of event

I working in lumen v5.6 project and I code observer in my old project now I want to use my old project observers as it is as I write because login is written in observers is too complex. Now I use events then I need to fire event manually but observers call automatically and code is well menaged. So that'w why I want to user observers instead of model events or events in lumen v5.6. Any idea and usefull link.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire