\Symfony\Bridge\PsrHttpMessage\FactoryPsrHttpFactory

Builds Psr\HttpMessage instances using a PSR-17 implementation.

Summary

Methods
Properties
Constants
__construct()
createRequest()
createResponse()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getFiles()
createUploadedFile()
$serverRequestFactory
$streamFactory
$uploadedFileFactory
$responseFactory
N/A

Properties

$serverRequestFactory

$serverRequestFactory : 

Type

$streamFactory

$streamFactory : 

Type

$uploadedFileFactory

$uploadedFileFactory : 

Type

$responseFactory

$responseFactory : 

Type

Methods

__construct()

__construct(\Psr\Http\Message\ServerRequestFactoryInterface  $serverRequestFactory, \Psr\Http\Message\StreamFactoryInterface  $streamFactory, \Psr\Http\Message\UploadedFileFactoryInterface  $uploadedFileFactory, \Psr\Http\Message\ResponseFactoryInterface  $responseFactory) 

Parameters

\Psr\Http\Message\ServerRequestFactoryInterface $serverRequestFactory
\Psr\Http\Message\StreamFactoryInterface $streamFactory
\Psr\Http\Message\UploadedFileFactoryInterface $uploadedFileFactory
\Psr\Http\Message\ResponseFactoryInterface $responseFactory

getFiles()

getFiles(array  $uploadedFiles) : array

Converts Symfony uploaded files array to the PSR one.

Parameters

array $uploadedFiles

Returns

array