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