Documentation

HandlersLocator
in package
implements HandlersLocatorInterface

Maps a message to a list of handlers.

Tags
author

Nicolas Grekas p@tchwork.com

author

Samuel Roze samuel.roze@gmail.com

Table of Contents

Interfaces

HandlersLocatorInterface
Maps a message to a list of handlers.

Properties

$handlers  : array<string|int, mixed>

Methods

__construct()  : mixed
getHandlers()  : iterable<int, HandlerDescriptor>
Returns the handlers for the given message name.
shouldHandle()  : bool

Properties

Methods

__construct()

public __construct(array<string|int, array<string|int, HandlerDescriptor>>|array<string|int, array<string|int, callable>> $handlers) : mixed
Parameters
$handlers : array<string|int, array<string|int, HandlerDescriptor>>|array<string|int, array<string|int, callable>>

        
On this page

Search results