mardi 3 mai 2016

Laravel 5 shared object for the web app

I'm new to laravel; i'd like to register an object variable with key "myObject", so that it can be acceded by all users using the current application, and can be acceded in any controller or view. the object can be changed (use a set method) whenever i want. i look for something like ServletContext in JEE or somthing like registry in Zend. Thanks in advance for you detailed code



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Y6Kkrj
via IFTTT

Aucun commentaire:

Enregistrer un commentaire