- Member | 106
I was using \Nette\Environment to get services and parameters but this now is deprecated, could you help me witch class i have to use to get services and parameters please.
right now im get them as follow
or a parameter value from neon config
$country = \Nette\Environment::getVariables()['location']['countrydefault']
how can i do now
Last edited by alnux (2014-12-02 01:46)