Closed sallyx closed 7 years ago
I think that it is better to extend Nette\Configurator
and override createLoader
in your application. The use-case for this is IMHO too narrow.
@JanTvrdik which is problematic, if you wanna write an extension that adds xml adapter.
addAdapter should be called in onCompile
and it is imho late for adding new loaders.
So, what is the result? Should I extend Nette\Configurator and relay on protected method not to be changed/removed in the future?
Any progress @sallyx? What should we do with this PR? @TomasVotruba @dg @JanTvrdik
I have no idea. You should accept it or refuse it.
I don't get the feature and use case. Could you elaborate on small example?
This should be solved this way https://github.com/nette/bootstrap/pull/39#issuecomment-121298933, closing.