final class CommandBus (View source)

internal  
 

Implementation Detail of {ContentRepository::handle}, which does the command dispatching to the different {CommandHandlerInterface} implementation.

Methods

__construct(CommandHandlerInterface ...$handlers)

No description

EventsToPublish
handle(CommandInterface $command, ContentRepository $contentRepository)

No description

Details

__construct(CommandHandlerInterface ...$handlers)

No description

Parameters

CommandHandlerInterface ...$handlers

EventsToPublish handle(CommandInterface $command, ContentRepository $contentRepository)

No description

Parameters

CommandInterface $command
ContentRepository $contentRepository

Return Value

EventsToPublish