Copied!

Implements all of the PSR-17 interfaces.

Note: in consuming code it is recommended to require the implemented interfaces and inject the instance of this class multiple times.

CloneableFinalInstantiable
  • Implements
    Psr\Http\Message\RequestFactoryInterface
    Psr\Http\Message\ResponseFactoryInterface
    Psr\Http\Message\ServerRequestFactoryInterface
    Psr\Http\Message\StreamFactoryInterface
    Psr\Http\Message\UploadedFileFactoryInterface
    Psr\Http\Message\UriFactoryInterface
Methods
public createRequest(string $method, $uri) : Psr\Http\Message\RequestInterface
public createResponse(int $code = 200, string $reasonPhrase = '') : Psr\Http\Message\ResponseInterface
public createServerRequest(string $method, $uri, array $serverParams = []) : Psr\Http\Message\ServerRequestInterface
public createStream(string $content = '') : Psr\Http\Message\StreamInterface
public createStreamFromFile(string $file, string $mode = 'r') : Psr\Http\Message\StreamInterface
public createStreamFromResource( $resource) : Psr\Http\Message\StreamInterface
public createUploadedFile(Psr\Http\Message\StreamInterface $stream, ?int $size = NULL, int $error = 0UPLOAD_ERR_OK, ?string $clientFilename = NULL, ?string $clientMediaType = NULL) : Psr\Http\Message\UploadedFileInterface
public createUri(string $uri = '') : Psr\Http\Message\UriInterface
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration