Interview questions and answers in laravel

By | September 28, 2017

Top 100 Interview questions and answers in laravel
Usage of config helper function in laravel

its a global function we can access the configuration file value using dot operator.It includes the name of the file and the option we need to access.
Example:
To get the value :: config(‘app.timezone’);
To set the configuration value:: config([‘app.timezone’=>’America/Chicago’]);

For more questions and answers click the below link

Top 100 Interview questions and answers in laravel