Closed Givx closed 7 years ago
Just create a test.config.php
file inside your theme config
directory.
Your config file must be a returned array. For example:
return [
'name' => 'John',
'category' => 42
];
You can then access all of its properties like so:
$all = Config::get('test');
// Or a single property.
$one = Config::get('test.name');
Ok thanks.
But i want to add Illuminate\Session in my template but it's not very easy. ;)
How add a config file for example in folder config :
test.config.php
How add this file in the ConfigFactory ?
Thanks