The Controller class extends the AbstractController and
implements the AscmvcEventManagerListenerInterface.
Methods
Initializes this class by assigning the objects and arrays
contained in the referenced application object to the corresponding
properties.
__construct(array $baseConfig, \Ascmvc\EventSourcing\EventDispatcher $eventDispatcher)
inherited abstract
Method corresponding to the controller's default action.
indexAction(null $vars = null) : mixed|void
inherited abstract
Arguments
Response
mixed|void
OnBootstrap listener method.
onBootstrap(\Ascmvc\Mvc\AscmvcEvent $event) : mixed|void
static
Arguments
Response
mixed|void
OnDispatch listener method.
onDispatch(\Ascmvc\Mvc\AscmvcEvent $event) : mixed|void
Arguments
Response
mixed|void
OnFinish listener method.
onFinish(\Ascmvc\Mvc\AscmvcEvent $event) : mixed|void
Arguments
Response
mixed|void
OnRender listener method.
onRender(\Ascmvc\Mvc\AscmvcEvent $event) : mixed|void
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
inherited
Array contains all of the values that will be assigned to the View manager's template.
view : array|null
inherited
Contains an instance of the Ascmvc\EventSourcing\EventDispatcher class.
eventDispatcher : \Ascmvc\EventSourcing\EventDispatcher
inherited
Array contains the controller's helper objects.
helpers : array|null
inherited