public function flash(array $data = array())
    {
        if(count($data) == 0 && $this->exe->request === null)
            return;

        $data = count($data) > 0 ? $data : $this->exe->request->getParsedBody();

        $this->exe->flash->set('form_data', $data);

        return $this;
    }
public function flash(array $data = array())
    {
        if(count($data) == 0 && $this->exe->request === null)
            return;

        $data = count($data) > 0 ? $data : $this->exe->request->getParsedBody();

        $this->exe->flash->set('form_data', $data);

        return $this;
    }
public function flash ( array $ data = array ( ) ) { if ( count ( $ data ) == 0 && $ this -> exe -> request === null ) return ; $ data = count ( $ data ) > 0 ? $ data : $ this -> exe -> request -> getParsedBody ( ) ; $ this -> exe -> flash -> set ( 'form_data' , $ data ) ; return $ this ; }
Flash given data
If not passed, flash form data
@param array data
@return self
Flash given data If not passed flash form data