original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Handle FlashMessenger data to be able to be seen in both "app" and toolbar parts.
docstring_tokens: Handle FlashMessenger data to be able to be seen in both app and toolbar parts .