original_string: public function init()
      {
          $container = $this->getSessionContainer();
          //get the messages and data that was set in the previous request
          //clear them afterwards
          if (isset($container->messages)) {
              $this->messages = $container->messages;
              unset($container->messages);
          }
  
          if (isset($container->data)) {
              $this->data = $container->data;
              unset($container->data);
          }
      }
code: public function init()
      {
          $container = $this->getSessionContainer();
          //get the messages and data that was set in the previous request
          //clear them afterwards
          if (isset($container->messages)) {
              $this->messages = $container->messages;
              unset($container->messages);
          }
  
          if (isset($container->data)) {
              $this->data = $container->data;
              unset($container->data);
          }
      }
code_tokens: public function init ( ) { $ container = $ this -> getSessionContainer ( ) ; //get the messages and data that was set in the previous request //clear them afterwards if ( isset ( $ container -> messages ) ) { $ this -> messages = $ container -> messages ; unset ( $ container -> messages ) ; } if ( isset ( $ container -> data ) ) { $ this -> data = $ container -> data ; unset ( $ container -> data ) ; } }
docstring: Initialize the messenger with the previous session messages
docstring_tokens: Initialize the messenger with the previous session messages