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);
        }
    }
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);
        }
    }
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 ) ; } }
Initialize the messenger with the previous session messages
Initialize the messenger with the previous session messages