Метод | Описание | |
---|---|---|
__callStatic ( string $name, array $arguments ) : mixed | Creates a new instance from a specified config, specifically meant to be used as static factory. | |
__construct ( string $configId ) | ||
__invoke ( Interop\Container\ContainerInterface $container ) : |
Create service. | |
defaultOptions ( ) | ||
dimensions ( ) |
Метод | Описание | |
---|---|---|
getBusClass ( ) : string | Returns the FQCN of a bus extending Prooph\ServiceBus\MessageBus | |
getDefaultRouterClass ( ) : string | Returns the default router class to use if no one was specified in the config |
Метод | Описание | |
---|---|---|
attachPlugins ( |
||
attachRouter ( |
[CommandBusFactory::class, 'other'],
];
public __invoke ( Interop\Container\ContainerInterface $container ) : |
||
$container | Interop\Container\ContainerInterface | |
Результат |
abstract protected getBusClass ( ) : string | ||
Результат | string |
abstract protected getDefaultRouterClass ( ) : string | ||
Результат | string |