Skip to content

Decorator

Methods

setInnerBus

Set the CommandBus which we're decorating.

public setInnerBus(\Codefy\CommandBus\CommandBus $bus): void

Parameters:

Parameter Type Description
$bus \Codefy\CommandBus\CommandBus

Inherited methods

execute

Execute a command

public execute(\Codefy\CommandBus\Command $command): mixed

Parameters:

Parameter Type Description
$command \Codefy\CommandBus\Command


Automatically generated on 2025-10-13