protected function readFromSession()
    {
        if (is_array($this->session->get(self::SESSION_KEY))) {
            $this->messages = $this->session->get(self::SESSION_KEY);
        }
        return $this;
    }
protected function readFromSession()
    {
        if (is_array($this->session->get(self::SESSION_KEY))) {
            $this->messages = $this->session->get(self::SESSION_KEY);
        }
        return $this;
    }
protected function readFromSession ( ) { if ( is_array ( $ this -> session -> get ( self :: SESSION_KEY ) ) ) { $ this -> messages = $ this -> session -> get ( self :: SESSION_KEY ) ; } return $ this ; }
Read messages stored in the session and load them into SessionMessage.

@return $this
Read messages stored in the session and load them into SessionMessage .