PHP Class Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory

Author: Kévin Dunglas ([email protected])
Inheritance: implements Symfony\Bridge\PsrHttpMessage\HttpFoundationFactoryInterface
Afficher le fichier Open project: symfony/psr-http-message-bridge Class Usage Examples

Méthodes publiques

Méthode Description
createRequest ( Psr\Http\Message\ServerRequestInterface $psrRequest )
createResponse ( Psr\Http\Message\ResponseInterface $psrResponse )

Méthodes protégées

Méthode Description
getTemporaryPath ( ) : string Gets a temporary file path.

Private Methods

Méthode Description
createCookie ( string $cookie ) : Cookie Creates a Cookie instance from a cookie string.
createUploadedFile ( Psr\Http\Message\UploadedFileInterface $psrUploadedFile ) : Symfony\Component\HttpFoundation\File\UploadedFile Creates Symfony UploadedFile instance from PSR-7 ones.
getFiles ( array $uploadedFiles ) : array Converts to the input array to $_FILES structure.

Method Details

createRequest() public méthode

public createRequest ( Psr\Http\Message\ServerRequestInterface $psrRequest )
$psrRequest Psr\Http\Message\ServerRequestInterface

createResponse() public méthode

public createResponse ( Psr\Http\Message\ResponseInterface $psrResponse )
$psrResponse Psr\Http\Message\ResponseInterface

getTemporaryPath() protected méthode

Gets a temporary file path.
protected getTemporaryPath ( ) : string
Résultat string