public function allFlashes()
    {
        if ( ! $this->isOpened()) {
            $this->start();
        }
        if (!empty($this->old_flashes)) {
            $_oldf = $this->old_flashes;
            $this->old_flashes = array();
            return $_oldf;
        }
        return null;
    }
public function allFlashes()
    {
        if ( ! $this->isOpened()) {
            $this->start();
        }
        if (!empty($this->old_flashes)) {
            $_oldf = $this->old_flashes;
            $this->old_flashes = array();
            return $_oldf;
        }
        return null;
    }
public function allFlashes ( ) { if ( ! $ this -> isOpened ( ) ) { $ this -> start ( ) ; } if ( ! empty ( $ this -> old_flashes ) ) { $ _oldf = $ this -> old_flashes ; $ this -> old_flashes = array ( ) ; return $ _oldf ; } return null ; }
Get current session flash parameters stack

@return array
Get current session flash parameters stack