MessageFactoryResolver
in package
implements
FactoryResolverInterface
FinalYes
Table of Contents
Interfaces
Properties
- $requestFactory : RequestFactoryInterface|null
- $responseFactory : ResponseFactoryInterface|null
- $serverRequestFactory : ServerRequestFactoryInterface|null
- $streamFactory : StreamFactoryInterface|null
- $uploadedFileFactory : UploadedFileFactoryInterface|null
- $uriFactory : UriFactoryInterface|null
Methods
- __construct() : mixed
- create() : self
- resolveRequestFactory() : RequestFactoryInterface
- resolveResponseFactory() : ResponseFactoryInterface
- resolveServerRequestFactory() : ServerRequestFactoryInterface
- resolveStreamFactory() : StreamFactoryInterface
- resolveUploadedFileFactory() : UploadedFileFactoryInterface
- resolveUriFactory() : UriFactoryInterface
Properties
$requestFactory
private
RequestFactoryInterface|null
$requestFactory
= null
$responseFactory
private
ResponseFactoryInterface|null
$responseFactory
= null
$serverRequestFactory
private
ServerRequestFactoryInterface|null
$serverRequestFactory
= null
$streamFactory
private
StreamFactoryInterface|null
$streamFactory
= null
$uploadedFileFactory
private
UploadedFileFactoryInterface|null
$uploadedFileFactory
= null
$uriFactory
private
UriFactoryInterface|null
$uriFactory
= null
Methods
__construct()
public
__construct([RequestFactoryInterface|null $requestFactory = null ][, ResponseFactoryInterface|null $responseFactory = null ][, ServerRequestFactoryInterface|null $serverRequestFactory = null ][, StreamFactoryInterface|null $streamFactory = null ][, UploadedFileFactoryInterface|null $uploadedFileFactory = null ][, UriFactoryInterface|null $uriFactory = null ]) : mixed
Parameters
- $requestFactory : RequestFactoryInterface|null = null
- $responseFactory : ResponseFactoryInterface|null = null
- $serverRequestFactory : ServerRequestFactoryInterface|null = null
- $streamFactory : StreamFactoryInterface|null = null
- $uploadedFileFactory : UploadedFileFactoryInterface|null = null
- $uriFactory : UriFactoryInterface|null = null
create()
public
static create([RequestFactoryInterface|null $requestFactory = null ][, ResponseFactoryInterface|null $responseFactory = null ][, ServerRequestFactoryInterface|null $serverRequestFactory = null ][, StreamFactoryInterface|null $streamFactory = null ][, UploadedFileFactoryInterface|null $uploadedFileFactory = null ][, UriFactoryInterface|null $uriFactory = null ]) : self
Parameters
- $requestFactory : RequestFactoryInterface|null = null
- $responseFactory : ResponseFactoryInterface|null = null
- $serverRequestFactory : ServerRequestFactoryInterface|null = null
- $streamFactory : StreamFactoryInterface|null = null
- $uploadedFileFactory : UploadedFileFactoryInterface|null = null
- $uriFactory : UriFactoryInterface|null = null
Return values
selfresolveRequestFactory()
public
resolveRequestFactory() : RequestFactoryInterface
Return values
RequestFactoryInterfaceresolveResponseFactory()
public
resolveResponseFactory() : ResponseFactoryInterface
Return values
ResponseFactoryInterfaceresolveServerRequestFactory()
public
resolveServerRequestFactory() : ServerRequestFactoryInterface
Return values
ServerRequestFactoryInterfaceresolveStreamFactory()
public
resolveStreamFactory() : StreamFactoryInterface
Return values
StreamFactoryInterfaceresolveUploadedFileFactory()
public
resolveUploadedFileFactory() : UploadedFileFactoryInterface
Return values
UploadedFileFactoryInterfaceresolveUriFactory()
public
resolveUriFactory() : UriFactoryInterface