Yoast\WP\SEO\MyYoast_Client\Domain
HTTP_Response::__construct
Constructs an HTTP_Response.
Метод класса: HTTP_Response{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$HTTP_Response = new HTTP_Response(); $HTTP_Response->__construct( $status, $headers, $body );
- $status(int) (обязательный)
- The HTTP status code.
- $headers(array<string, string|string[]>) (обязательный)
- The response headers.
- $body(array<string, mixed>|строка) (обязательный)
- The parsed body.
Код HTTP_Response::__construct() HTTP Response:: construct Yoast 28.9
public function __construct( int $status, array $headers, $body ) {
$this->status = $status;
$this->headers = $headers;
$this->body = $body;
}