jeudi 23 août 2018

Auto Load Class Globally in Laravel 5.6 using "use" [on hold]

Hi All I am really new to Laravel. And I am trying to load the class globally. So I can access it from anywhere inside my Laravel project.

Class created inside APP/custom/common.php

I am able to access the function if I add the use "namespace" but I want to add in one place so I can use class function without loading it in every file.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2NciaMn
via IFTTT

Aucun commentaire:

Enregistrer un commentaire