- Member | 8
I need to configure few things in my application. What is the bay way to do that? I've found few posts talking about usage of config.ini and few talking about usage of config.neon. Since I haven't found any config.ini file in my new project I assume that this way is a topic in older versions of Nette framework and when using new version (my current is 2.0.12) preffered way is to config my app in config.neon . Am I right?
Could, you give me an example of how to obtain configuration directive in service layer (let's say customer.credit.expiration in app/model/CustomerService.php) of my app in proper way?