Skip to content

Twig Renderer-Post Event? #117

@typoworx-de

Description

@typoworx-de

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions