PHP Класс 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
Автор: Rolf Vreijdenberger
Наследование: implements izzum\command\ICommand
Показать файл Открыть проект

Открытые методы

Метод Описание
__toString ( )
execute ( ) (non-PHPdoc)
toString ( ) : string

Защищенные методы

Метод Описание
_execute ( )
handleException ( izzum\command\Exception $e ) hook method for logging etc.

Описание методов

__toString() публичный Метод

public __toString ( )

_execute() абстрактный защищенный Метод

abstract protected _execute ( )

execute() закрытый публичный Метод

(non-PHPdoc)
См. также: izzum\command\ICommand::execute()
final public execute ( )

handleException() защищенный Метод

hook method for logging etc.
protected handleException ( izzum\command\Exception $e )
$e izzum\command\Exception

toString() публичный Метод

public toString ( ) : string
Результат string