HandlersLocator
class HandlersLocator implements HandlersLocatorInterface (View source)
Properties
protected Repository | $config | ||
protected Application | $app |
Methods
iterable
getHandlers(Envelope $envelope)
No description
bool
shouldHandle(Envelope $envelope, HandlerDescriptor $handlerDescriptor)
Note: This was taken from the Symfony HandlersLocator class. I wish it were a trait or something more reusable but the logic seems important so we should add it to our own.
Details
__construct(Application $app, Repository $config)
No description
iterable
getHandlers(Envelope $envelope)
No description
private bool
shouldHandle(Envelope $envelope, HandlerDescriptor $handlerDescriptor)
Note: This was taken from the Symfony HandlersLocator class. I wish it were a trait or something more reusable but the logic seems important so we should add it to our own.