src/Flash.php
public function get($key, $default = null)
    {
        if(isset($this->data[$key]))
        {
            return $this->data[$key];
        }
        
        return isset($this->session[$key]) ? $this->session[$key] : $default;
    }
public function get($key, $default = null)
    {
        if(isset($this->data[$key]))
        {
            return $this->data[$key];
        }
        
        return isset($this->session[$key]) ? $this->session[$key] : $default;
    }
public function get ( $ key , $ default = null ) { if ( isset ( $ this -> data [ $ key ] ) ) { return $ this -> data [ $ key ] ; } return isset ( $ this -> session [ $ key ] ) ? $ this -> session [ $ key ] : $ default ; }
Retrive a value

@access  public

@param   string  $key        Key
@param   mixed   $default    (optional)  Default value

@return  \Clovers\Session\Flash
Retrive a value