class MessageBusManager implements ContainerInterface (View source)

Properties

protected Repository $config
protected Application $app
protected array $buses
protected array $customMiddleware

Methods

__construct(Application $app, Repository $config)

No description

addMiddleware(string $middlewareClass)

No description

registerBus(string $handle, Closure $closure)

No description

MessageBusInterface|null
getBus(string $handle)

No description

MessageBusInterface|null
buildBusFromConfig(string $handle)

No description

has($id)

No description

get($id)

No description

Details

__construct(Application $app, Repository $config)

No description

Parameters

Application $app
Repository $config

addMiddleware(string $middlewareClass)

No description

Parameters

string $middlewareClass

registerBus(string $handle, Closure $closure)

No description

Parameters

string $handle
Closure $closure

MessageBusInterface|null getBus(string $handle)

No description

Parameters

string $handle

Return Value

MessageBusInterface|null

private MessageBusInterface|null buildBusFromConfig(string $handle)

No description

Parameters

string $handle

Return Value

MessageBusInterface|null

has($id)

No description

Parameters

$id

get($id)

No description

Parameters

$id