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

Twig Renderer-Post Event? #117

Open
typoworx-de opened this issue Apr 8, 2016 · 0 comments
Open

Twig Renderer-Post Event? #117

typoworx-de opened this issue Apr 8, 2016 · 0 comments

Comments

@typoworx-de
Copy link

I've tried to use Zend Events to catch the final response before it is passed to output. But I always only got the event fired before rendering and with empty response.

I tried like this:
`
$eventManager->attach(ViewEvent::EVENT_RESPONSE, function($event) { ... })

$sharedEvents->attach('Zend\View\View', ViewEvent::EVENT_RESPONSE, function($event) { ... })

$eventManager->attach(MvcEvent::EVENT_FINISH, function($event) { ... })
`
Always only firing before and not after the final rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant