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.