PHP Class izzum\command\Command
Concrete commands must implement the _execute() method.
Intent: Encapsulate a request as an object, thereby letting you parameterize
clients with different requests, queue or log requests.
A concrete Command (a subclass) can (and should be) injected with contextual
data via
dependency injection in the constructor
Datei anzeigen
Open project: rolfvreijdenberger/izzum-statemachine
Public Methods
Protected Methods
Method Details
__toString()
public method
_execute()
abstract protected method
execute()
final public method
handleException()
protected method
hook method for logging etc.
protected handleException ( izzum\command\Exception $e ) |
$e |
izzum\command\Exception |
|