mercredi 1 juillet 2015

How do I access values from .env in Laravel 5.1 TestCase

In Laravel 5.1 TestCase, the baseUrl is hard-coded. I'd like to set it based on the value I have set in .env.

How do I access the .env variables within the TestCase class?

Aucun commentaire:

Enregistrer un commentaire