ServerRequestFactoryTrait
trait ServerRequestFactoryTrait (View source)
Properties
protected UriFactoryInterface | $uriFactory | ||
protected string | $defaultUserAgent | ||
protected string | $scriptPath | ||
protected string | $defaultHttpVersion |
Methods
__construct(UriFactoryInterface $uriFactory, string $defaultUserAgent = 'Flow/' . FLOW_VERSION_BRANCH, string $scriptPath = 'index.php', string $defaultHttpVersion = '1.1')
ServerRequestFactory constructor.
ServerRequestInterface
createServerRequest(string $method, $uri, array $serverParams = [])
No description
Details
__construct(UriFactoryInterface $uriFactory, string $defaultUserAgent = 'Flow/' . FLOW_VERSION_BRANCH, string $scriptPath = 'index.php', string $defaultHttpVersion = '1.1')
ServerRequestFactory constructor.
ServerRequestInterface
createServerRequest(string $method, $uri, array $serverParams = [])
No description