PHP izzum\command Пространство имен

Interfaces

Имя Описание
ICommand specifies an interface for a generic type of Command [GoF] Intent: Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests.
IComposite The Interface for a CompositeCommand aka.

Классы

Имя Описание
Closure A Closure command allows the use of closure in a (composite) command.
Command Serves as base class for all other concrete commands.
Composite Command Pattern [GoF] implementation CompositeCommand (aka MacroCommand) can be used to insert multiple ICommand instances which will be handled in the execute() method
ExceptionCommand throws an exception
ExceptionOnConstructionCommand
NullCommand Does absolutely nothing.