src/Room11/HTTP/Response/Response.php
public function clear()
    {
        $this->status = 200;
        $this->reasonPhrase = '';
        $this->headers = [];
        $this->ucHeaders = [];
        $this->cookies = [];
        $this->body = null;
        $this->asgiMap = [];

        return $this;
    }
public function clear()
    {
        $this->status = 200;
        $this->reasonPhrase = '';
        $this->headers = [];
        $this->ucHeaders = [];
        $this->cookies = [];
        $this->body = null;
        $this->asgiMap = [];

        return $this;
    }
public function clear ( ) { $ this -> status = 200 ; $ this -> reasonPhrase = '' ; $ this -> headers = [ ] ; $ this -> ucHeaders = [ ] ; $ this -> cookies = [ ] ; $ this -> body = null ; $ this -> asgiMap = [ ] ; return $ this ; }
Remove all assigned values and reset defaults

@return Response Returns the current object instance
Remove all assigned values and reset defaults