mardi 30 mai 2017

Why have Laravel Middleware contracts been deprecated?

I just discovered that Laravel 5.1 deprecated (and 5.2 removed) Middleware contracts. I used them for long time, but I have never noticed this removal.

Just a simple question, why?

Why do I have to define a method (handle) without any contract forces me to do this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire