Nette 3.1. parameters can not be filled by service? (so parameter stores Nette\DI\Statement)
- forgie
- Bronze Partner | 18
I mean this in .neon file:
parameters:
someParameter: @someService::get('something')
In Nette 2.4. it worked for sure, if I'm not wrong it worked also in Nette
3.0.
Parameters in container contained DI
Statement: Container::$parameters['someParameter'] === Nette\DI\Statement ...
But this no longer works in Nette 3.1:
Container::$parameters['someParameter'] === null
Or it works also in Nette 3.1 and it is only my project issue?
- David Grudl
- Nette Core | 8218
Don't you have parameter export disabled? https://doc.nette.org/en/configuring#…