Documentation

InternetRequestResult
in package

Table of Contents

$body  : string
$code  : int
$headers  : array<string|int, array<string|int, string>>
__construct()  : mixed
getBody()  : string
getCode()  : int
getHeaders()  : array<string|int, array<string|int, string>>

Properties

$headers

private array<string|int, array<string|int, string>> $headers
Tags
phpstan-var

list<array<string, string>>

Methods

__construct()

public __construct(array<string|int, array<string|int, string>> $headers, string $body, int $code) : mixed
Parameters
$headers : array<string|int, array<string|int, string>>
$body : string
$code : int
Tags
phpstan-param

list<array<string, string>> $headers

Return values
mixed

getHeaders()

public getHeaders() : array<string|int, array<string|int, string>>
Tags
phpstan-return

list<array<string, string>>

Return values
array<string|int, array<string|int, string>>

Search results