Class HttpViewControllerFactory

Class HttpViewControllerFactory

HttpViewControllerFactory implements HttpViewControllerFactoryInterface
Package: Http\Factories
Category: System
Implements: HttpViewControllerFactoryInterface
Located at Services/System/Http/Factories/HttpViewControllerFactory.inc.php

Methods summary

public __construct( HttpViewControllerRegistryInterface $httpViewControllerRegistry, HttpContextReaderInterface $httpContextReader, HttpResponseProcessorInterface $httpResponseProcessor )

Initialize the http view controller factory.

public createController( string $controllerName ) : HttpViewControllerInterface

Creates a new instance of a http view controller by the given controller name.

protected _getControllerClassName( string $controllerName ) : string

Returns the class name of a http controller by the given controller name.

protected _createControllerContentView( string $controllerName ) : ContentViewInterface

Creates and returns the content view for a http view controller by the controller name.

Properties summary