PHP Class Prooph\ServiceBus\Plugin\InvokeStrategy\OnEventStrategy

Author: Alexander Miertsch ([email protected])
Inheritance: extends AbstractInvokeStrategy
Mostrar archivo 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
determineEventName ( mixed $event ) : string

Method Details

canInvoke() public method

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

determineEventName() protected method

protected determineEventName ( mixed $event ) : string
$event mixed
return string

invoke() public method

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