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.
Initializes this class by assigning the objects and arrays
contained in the referenced application object to the corresponding
__construct(array $baseConfig, \Ascmvc\EventSourcing\EventDispatcher $eventDispatcher)
Method corresponding to the controller's default action.
indexAction(null $vars = null) : mixed|void
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
Contains an instance of the Ascmvc\EventSourcing\EventDispatcher class.
eventDispatcher : \Ascmvc\EventSourcing\EventDispatcher
Array contains the controller's helper objects.
helpers : array|null