Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TemplateFactory::onCreate #195

f3l1x opened this issue May 9, 2018 · 0 comments

TemplateFactory::onCreate #195

f3l1x opened this issue May 9, 2018 · 0 comments


Copy link

@f3l1x f3l1x commented May 9, 2018

  • bug report? no
  • feature request? yes
  • version: >=2.4


I would like to add TemplateFactory::onCreate event. It would be the same as in Latte::onCompile, Presenter::onStartup, Application::onRequest, Form::onSuccess.

With this new event we can define any callback in NEON and don't need to override TemplateFactory. At this moment, we would like to have Symfony Event for that in contributte/event-dispatcher-extra (

Can I prepare PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant