public function flash($key, $value = true)
    {
        if (is_array($key))
            $this->flashMany($key);
        else
            $this->session->flash($key, $value);
    }
public function flash($key, $value = true)
    {
        if (is_array($key))
            $this->flashMany($key);
        else
            $this->session->flash($key, $value);
    }
public function flash ( $ key , $ value = true ) { if ( is_array ( $ key ) ) $ this -> flashMany ( $ key ) ; else $ this -> session -> flash ( $ key , $ value ) ; }
Flash a message to the session.

@param  string|array  $key
@param  mixed         $value
Flash a message to the session .