BusFactory

final readonly class \TYPO3\CMS\Core\Messenger\BusFactory

Table of Contents

Methods

__construct()  : mixed
createBus()  : MessageBusInterface

Methods

__construct()

public __construct(array<string, IteratorAggregate> $middlewares) : mixed

Parameters

$middlewares : array<string, IteratorAggregate>

createBus()

public createBus([string $bus = 'default' ]) : MessageBusInterface

Parameters

$bus : string = 'default'

Return values

MessageBusInterface
On this page