Advertisement
nocturnalmk

illuminate/config create object

Oct 10th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. crynobone> $config = new Illuminate\Config\Repository(new Illuminate\Config\FileLoader(new Illuminate\Filesystem\Filesystem, __DIR__.'/config'), 'production');
  2. <crynobone> now you should be able to do $config->get('app.name') and load __DIR__.'/config/app.php'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement