- Member | 29
Hi, I would like to use my PresenterFactory, but I don't know where should I tell the application to use my own. I have found some definitions in NetteExtension class but I don't want to override 100 another classes. Is there some easier way to use own implementation of this class?
- Member | 844
just write it to the
config.neon like this:
parameters: ... nette: ... services: nette.presenterFactory: class: YourPresenterFactoryClass()
I had to add param %baseDir and now it works like a charm. Thanks!5 years ago