public function get()
    {
        if (!isset($this->data) && isset($this->session[$this->key])) {
            $this->data = $this->session[$this->key];
            unset($this->session[$this->key]);
        }
        
        return $this->data ? (object)$this->data : null;
    }
public function get()
    {
        if (!isset($this->data) && isset($this->session[$this->key])) {
            $this->data = $this->session[$this->key];
            unset($this->session[$this->key]);
        }
        
        return $this->data ? (object)$this->data : null;
    }
public function get ( ) { if ( ! isset ( $ this -> data ) && isset ( $ this -> session [ $ this -> key ] ) ) { $ this -> data = $ this -> session [ $ this -> key ] ; unset ( $ this -> session [ $ this -> key ] ) ; } return $ this -> data ? ( object ) $ this -> data : null ; }
Get the flash.

@return object
Get the flash .