The Controller class extends the AbstractController and
implements the AscmvcEventManagerListenerInterface.
package
|
Ascmvc\EventSourcing
|
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
inherited static
Arguments
Response
mixed|void
OnDispatch listener method.
onDispatch(\Ascmvc\Mvc\AscmvcEvent $event) : mixed|void
inherited
Arguments
Response
mixed|void
OnFinish listener method.
onFinish(\Ascmvc\Mvc\AscmvcEvent $event) : mixed|void
inherited
Arguments
Response
mixed|void
OnRender listener method.
onRender(\Ascmvc\Mvc\AscmvcEvent $event) : mixed|void
inherited
Arguments
Response
mixed|void
Runs before the controller's default action.
preIndexAction(null $vars = null) : mixed|void
Arguments
Response
mixed|void
Properties
Contains the name of the Aggregate Root.
aggregateRootName : string
Contains a list of listeners for this aggregate, where the key is the name of the event
and the value is the FQCN of the class that is to become a listener of the specified event.
aggregateListenerNames : array
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