ApplicationProvider
class ApplicationProvider extends AbstractEntryProvider (View source)
Provides the default dependencies required by the application.
Methods
Returns the configured web application.
Returns the default middleware stack that is run for every request.
Returns the request handler used for 404 responses.
Returns the middleware used to route exceptions to the error handler.
Returns the request handler for handling exception responses.
Returns the router middleware used to route requests to appropriate handlers.
Returns the http client used to communicate to the browser.
Returns the factory used create requests and responses.
Returns the standard Request factory.
Returns the standard Response Factory.
Returns the standard ServerRequest Factory.
Returns the standard Stream Factory.
Returns the standard UploadedFile Factory.
Returns the standard Uri Factory.
Details
at line 41
Application
getApplication(ContainerInterface $container)
Returns the configured web application.
at line 55
MiddlewareHandler
getMiddlewareHandler(ContainerInterface $container)
Returns the default middleware stack that is run for every request.
at line 70
NotFoundHandler
getNotFoundHandler(ContainerInterface $container)
Returns the request handler used for 404 responses.
at line 83
ErrorHandlerMiddleware
getErrorHandlerMiddleware(ContainerInterface $container)
Returns the middleware used to route exceptions to the error handler.
at line 95
ErrorHandler
getErrorHandler(ContainerInterface $container)
Returns the request handler for handling exception responses.
at line 108
RouterMiddleware
getRouterMiddleware(ContainerInterface $container)
Returns the router middleware used to route requests to appropriate handlers.
at line 122
HttpClient
getHttpClient()
Returns the http client used to communicate to the browser.
at line 131
HttpFactoryInterface
getHttpFactory()
Returns the factory used create requests and responses.
at line 140
RequestFactoryInterface
getRequestFactory()
Returns the standard Request factory.
at line 149
ResponseFactoryInterface
getResponseFactory()
Returns the standard Response Factory.
at line 158
ServerRequestFactoryInterface
getServerRequestFactory()
Returns the standard ServerRequest Factory.
at line 167
StreamFactoryInterface
getStreamFactory()
Returns the standard Stream Factory.
at line 176
UploadedFileFactoryInterface
getUploadedFileFactory()
Returns the standard UploadedFile Factory.
at line 185
UriFactoryInterface
getUriFactory()
Returns the standard Uri Factory.