vendredi 20 mai 2016

How to create Helper Methods on Laravel not a Facade

I've read a lot of questions of how to make a helper methods on Laravel 5.1. But I dont want to achieve this in a Facade

HelperClass::methodName();

I want to make a Helper Methods just like on this methods Laravel Helper Methods like:

myCustomMethod();

I dont want to make it a Facade. Is this possible? How? Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire