Command

Class Command

package

Ascmvc\EventSourcing

Methods

Command constructor.

__construct(\Ascmvc\EventSourcing\EventDispatcher $eventDispatcher, array $argv) 

Arguments

$argv

array

The command's main runtime execution method

execute() : mixed
abstract

Response

mixed

Properties

Contains an instance of the \Ascmvc\EventSourcing\EventDispatcher

eventDispatcher : \Ascmvc\EventSourcing\EventDispatcher

Contains an array of the command's arguments

argv : array
var

Type(s)

array