/** * Listener method of the Enlight_Plugins_ViewRenderer_PostRender event. * Logs the template of the given Enlight_Event_EventArgs. * * @param \Enlight_Event_EventArgs $args */ public function onAfterRenderView(\Enlight_Event_EventArgs $args) { $template = $args->getTemplate(); $this->logTemplate($template); }