class RequestBuilder

RequestBuilder class.

This class provides a convenient way of creating a PSR-7 request object.

Methods

__construct(string $accessToken, string $baseUri, string $apiContentType, UserAgentGenerator $userAgentGenerator)

No description

RequestInterface
build(string $method, string $path, array $options)

No description

Details

at line 51
__construct(string $accessToken, string $baseUri, string $apiContentType, UserAgentGenerator $userAgentGenerator)

Parameters

string $accessToken
string $baseUri
string $apiContentType
UserAgentGenerator $userAgentGenerator

at line 66
RequestInterface build(string $method, string $path, array $options)

Parameters

string $method
string $path
array $options

Return Value

RequestInterface