php - How does Laravel / What pattern does laravel use to find config variables? -


how laravel load config variables returning arrays? example:

custom.php

return ['foo' => 'bar']; 

how can file return something?

a.php

<?php return 'scripts can return things!'; 

b.php

<?php echo include 'a.php'; 

execute b.php , see happens.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -