jeudi 18 avril 2019

How to store object data in Laravel

I keep doing google of how to store object data in Laravel.

I have an Model object which is using among functions and the Model data will not be changed indeed. So I want to store it into the global area for access.

I think it should be stored in something like the ServletContext(Application Scope) in tomcat. But I can't find such concept in Laravel at all.

Could anyone help?

Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire