RequestBuilder
class RequestBuilder (View source)
internal |
Builds a PSR-7 request from a set of request information.
Traits
Provides basic array helper methods.
Provides a light wrapper around often used URI related functions.
Methods
__construct(string $baseUri, string $restConfigPath)
No description
bool
pathExists(string $path)
No description
RequestInterface
build(string $path, Message $message, array $headers = [])
No description
Details
UriInterface
buildUriWithQuery(string|UriInterface $uri, array $query)
No description
static array
validate(array $arr, array $requiredKeys)
No description
static array
validateNotNull(array $arr, array $requiredKeys)
No description
__construct(string $baseUri, string $restConfigPath)
No description
bool
pathExists(string $path)
No description
RequestInterface
build(string $path, Message $message, array $headers = [])
No description