Phprest\Response\Ok::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( mixed $content = '', array $headers = [] )
$content mixed The response content, see setContent()
$headers array An array of response headers
    public function __construct($content = '', $headers = [])
    {
        parent::__construct($content, Response::HTTP_OK, $headers);
    }