abstract |
---|
Methods | ||
---|---|---|
public
|
__construct(
ClientInterface $httpClient,
RequestFactoryInterface $requestFactory,
SerializerInterface $serializer,
StreamFactoryInterface $streamFactory,
)
|
# |
public
|
executeEndpoint(Endpoint $endpoint, string $fetch = self::FETCH_OBJECT)
|
# |
public
|
executeRawEndpoint(Endpoint $endpoint): ResponseInterface
|
# |
Constants | ||
---|---|---|
public
|
FETCH_RESPONSE = 'response'
|
# |
public
|
FETCH_OBJECT = 'object'
|
# |
Properties | |||
---|---|---|---|
protected
|
ClientInterface
|
$httpClient
|
# |
protected
|
RequestFactoryInterface
|
$requestFactory
|
# |
protected
|
SerializerInterface
|
$serializer
|
# |
protected
|
StreamFactoryInterface
|
$streamFactory
|
# |