interface CommandHandlerInterface (View source)

internal  no public API, because commands are no extension points of the CR
 

Common interface for all Content Repository command handlers

Note: The Content Repository instance is passed to the handle() method for it to do soft-constraint checks or trigger "sub commands"

Methods

bool
canHandle(CommandInterface $command)

No description

EventsToPublish
handle(CommandInterface $command, ContentRepository $contentRepository)

No description

Details

bool canHandle(CommandInterface $command)

No description

Parameters

CommandInterface $command

Return Value

bool

EventsToPublish handle(CommandInterface $command, ContentRepository $contentRepository)

No description

Parameters

CommandInterface $command
ContentRepository $contentRepository

Return Value

EventsToPublish