public function flashMessengerHandler(EventInterface $e) : void
    {
        /** @var \Zend\Mvc\Controller\AbstractActionController $controller */
        $controller = $e->getTarget();
        if (!$controller->getPluginManager()->has('flashMessenger')) {
            return;
        }

        $flash = $controller->plugin('flashMessenger');
        $container = $flash->getContainer();
        $this->duplicateFlashMessengerSessionData($container);
    }
public function flashMessengerHandler(EventInterface $e) : void
    {
        /** @var \Zend\Mvc\Controller\AbstractActionController $controller */
        $controller = $e->getTarget();
        if (!$controller->getPluginManager()->has('flashMessenger')) {
            return;
        }

        $flash = $controller->plugin('flashMessenger');
        $container = $flash->getContainer();
        $this->duplicateFlashMessengerSessionData($container);
    }
public function flashMessengerHandler ( EventInterface $ e ) : void { /** @var \Zend\Mvc\Controller\AbstractActionController $controller */ $ controller = $ e -> getTarget ( ) ; if ( ! $ controller -> getPluginManager ( ) -> has ( 'flashMessenger' ) ) { return ; } $ flash = $ controller -> plugin ( 'flashMessenger' ) ; $ container = $ flash -> getContainer ( ) ; $ this -> duplicateFlashMessengerSessionData ( $ container ) ; }
Handle FlashMessenger data to be able to be seen in both "app" and toolbar parts.
Handle FlashMessenger data to be able to be seen in both app and toolbar parts .