PHP Class Prooph\ServiceBus\Plugin\InvokeStrategy\HandleCommandStrategy

Author: Alexander Miertsch ([email protected])
Inheritance: extends AbstractInvokeStrategy
Show file Open project: prooph/service-bus Class Usage Examples

Public Methods

Method Description
canInvoke ( mixed $handler, mixed $message ) : boolean
invoke ( mixed $handler, mixed $message )

Protected Methods

Method Description
determineCommandName ( mixed $message ) : string

Method Details

canInvoke() public method

public canInvoke ( mixed $handler, mixed $message ) : boolean
$handler mixed
$message mixed
return boolean

determineCommandName() protected method

protected determineCommandName ( mixed $message ) : string
$message mixed
return string

invoke() public method

public invoke ( mixed $handler, mixed $message )
$handler mixed
$message mixed