Class HttpViewControllerFactory
| category |
System |
|---|---|
| package |
Http |
| subpackage |
Factories |
| implements |
HttpViewControllerFactoryInterface |
__construct(\HttpViewControllerRegistryInterface $httpViewControllerRegistry, \HttpContextReaderInterface $httpContextReader, \HttpResponseProcessorInterface $httpResponseProcessor)
\HttpViewControllerRegistryInterfaceObject which holds the registered controller class names.
_createControllerContentView(string $controllerName) : \ContentViewInterface
| Throws |
|
|---|
stringName of the http controller class.
\ContentViewInterfaceContent view instance for the http view controller.
_getControllerClassName(string $controllerName) : string
| Throws |
|
|---|
stringName of the http controller class.
stringClass name of the http controller.
createController(string $controllerName) : \HttpViewControllerInterface
| Throws |
|
|---|
stringExpected name of controller (without 'Controller'-Suffix)
\HttpViewControllerInterfaceCreated controller instance.
httpViewControllerRegistry : \HttpViewControllerRegistryInterface
httpContextReader : \HttpContextReaderInterface
httpResponseProcessor : \HttpResponseProcessorInterface