class HandlerLocator implements HandlerLocatorInterface

Methods

__construct(array $messageToHandlerMapping = [])

No description

callable
resolve(object $message)

Returns the handler for the given message.

Details

at line 26
__construct(array $messageToHandlerMapping = [])

Parameters

array $messageToHandlerMapping

at line 31
callable resolve(object $message)

Returns the handler for the given message.

Parameters

object $message

Return Value

callable

Exceptions

NoHandlerForMessageException