src/Web/ResponseBuilder.php
public function setStatusCode($code = 200) {
        $this->_statusCode = $code;
        $this->_statusText = isset(Response::$httpStatuses[$this->_statusCode]) ? Response::$httpStatuses[$this->_statusCode] : '';
        return $this;
    }
public function setStatusCode($code = 200) {
        $this->_statusCode = $code;
        $this->_statusText = isset(Response::$httpStatuses[$this->_statusCode]) ? Response::$httpStatuses[$this->_statusCode] : '';
        return $this;
    }
Set status code
@param int $code
@return ResponseBuilderInterface