$serverRequestFactory
$serverRequestFactory :
Builds Psr\HttpMessage instances using a PSR-17 implementation.
__construct(\Psr\Http\Message\ServerRequestFactoryInterface $serverRequestFactory, \Psr\Http\Message\StreamFactoryInterface $streamFactory, \Psr\Http\Message\UploadedFileFactoryInterface $uploadedFileFactory, \Psr\Http\Message\ResponseFactoryInterface $responseFactory)
\Psr\Http\Message\ServerRequestFactoryInterface | $serverRequestFactory | |
\Psr\Http\Message\StreamFactoryInterface | $streamFactory | |
\Psr\Http\Message\UploadedFileFactoryInterface | $uploadedFileFactory | |
\Psr\Http\Message\ResponseFactoryInterface | $responseFactory |
createRequest(\Symfony\Component\HttpFoundation\Request $symfonyRequest) : \Psr\Http\Message\ServerRequestInterface
Creates a PSR-7 Request instance from a Symfony one.
\Symfony\Component\HttpFoundation\Request | $symfonyRequest |
createResponse(\Symfony\Component\HttpFoundation\Response $symfonyResponse) : \Psr\Http\Message\ResponseInterface
Creates a PSR-7 Response instance from a Symfony one.
\Symfony\Component\HttpFoundation\Response | $symfonyResponse |
createUploadedFile(\Symfony\Component\HttpFoundation\File\UploadedFile $symfonyUploadedFile) : \Psr\Http\Message\UploadedFileInterface
Creates a PSR-7 UploadedFile instance from a Symfony one.
\Symfony\Component\HttpFoundation\File\UploadedFile | $symfonyUploadedFile |