Bluz\Response\Response

Response Container

Synopsis

class Response {
  • // members
  • protected string $protocol = '1.1';
  • protected integer $code = StatusCode::OK;
  • protected string|null $phrase;
  • protected array $headers = ;
  • protected array $cookies = ;
  • protected Controller $body;
  • protected string $type = 'HTML';
}

Hierarchy

Violations

PHPMessDetector

Line Rule Message
78 - 135 CyclomaticComplexity The method send() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.

Members

protected

Methods

protected

public

Inherited from Bluz\Common\Options

protected

public

History