PHP Class Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory

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

Méthodes publiques

Méthode Description
__construct ( )
createRequest ( Request $symfonyRequest )
createResponse ( Response $symfonyResponse )

Private Methods

Méthode Description
createUploadedFile ( Symfony\Component\HttpFoundation\File\UploadedFile $symfonyUploadedFile ) : UploadedFileInterface Creates a PSR-7 UploadedFile instance from a Symfony one.
getFiles ( array $uploadedFiles ) : array Converts Symfony uploaded files array to the PSR one.

Method Details

__construct() public méthode

public __construct ( )

createRequest() public méthode

public createRequest ( Request $symfonyRequest )
$symfonyRequest Symfony\Component\HttpFoundation\Request

createResponse() public méthode

public createResponse ( Response $symfonyResponse )
$symfonyResponse Symfony\Component\HttpFoundation\Response