The abstract AbstractController class is the blueprint for the MVC's controllers.
Description The AbstractController class is the one that needs to be extended
in order to create a LightMVC controller.
Methods
Initializes this class by assigning the objects and arrays
contained in the referenced application object to the corresponding
properties.
__construct(array $baseConfig) : void
abstract
Method corresponding to the controller's default action.
indexAction(null $vars = null) : mixed|void
abstract
Arguments
Response
mixed|void
Properties
Contains a reference to the array containing some of the app's basic configurations
useful to controllers.
baseConfig : array|null
Array contains all of the values that will be assigned to the View manager's template.
view : array|null
Array contains the controller's helper objects.
helpers : array|null