Table of Contents
Properties
-
$client
: HttpClientInterface
Methods
-
__construct()
: mixed
-
loadJsonFromString()
: array<string|int, mixed>
-
loadJsonFromUrl()
: array<string|int, mixed>
$client
read-only
private
HttpClientInterface
$client
__construct()
public
__construct(HttpClientInterface $client) : mixed
Parameters
-
$client
: HttpClientInterface
-
loadJsonFromString()
public
loadJsonFromString(string $jsonString[, string $url = '' ]) : array<string|int, mixed>
Parameters
-
$jsonString
: string
-
-
$url
: string
= ''
-
Return values
array<string|int, mixed>
loadJsonFromUrl()
public
loadJsonFromUrl(string $url) : array<string|int, mixed>
Parameters
-
$url
: string
-
Return values
array<string|int, mixed>