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

Closed
f3l1x opened this issue May 9, 2018 · 0 comments

Comments

@f3l1x
Copy link
Member

commented May 9, 2018

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

Description

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 (https://github.com/contributte/event-dispatcher-extra).

Can I prepare PR?

f3l1x added a commit to f3l1x/nette-application that referenced this issue May 16, 2018

f3l1x added a commit to f3l1x/nette-application that referenced this issue May 16, 2018

dg added a commit that referenced this issue May 16, 2018

@dg dg closed this in ec27f12 May 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.