public function clear() {
        $this->header = array();
        $this->cookies = array();
        $this->files = array();
        $this->statusCode = null;
        $this->statusDescription = null;
        $this->output = '';

        if (ob_get_length() > 0) { 
            ob_clean(); 
        }
    }
public function clear() {
        $this->header = array();
        $this->cookies = array();
        $this->files = array();
        $this->statusCode = null;
        $this->statusDescription = null;
        $this->output = '';

        if (ob_get_length() > 0) { 
            ob_clean(); 
        }
    }
public function clear ( ) { $ this -> header = array ( ) ; $ this -> cookies = array ( ) ; $ this -> files = array ( ) ; $ this -> statusCode = null ; $ this -> statusDescription = null ; $ this -> output = '' ; if ( ob_get_length ( ) > 0 ) { ob_clean ( ) ; } }
Clears all headers and content output from the current response.

@return void
Clears all headers and content output from the current response .