symfony / 4.1 / symfony / component / messenger / handler / locator / handlerlocatorinterface.html

HandlerLocatorInterface

interface HandlerLocatorInterface

Methods

callable resolve(object $message)

Returns the handler for the given message.

Details

callable resolve(object $message)

Returns the handler for the given message.

Parameters

object $message

Return Value

callable

Exceptions