Method |
Description |
|
existsBus ( string $name ) : boolean |
Check if bus exists in channel domain. |
|
getBus ( string $name ) : Kraken\Channel\ChannelInterface | Kraken\Channel\ChannelCompositeInterface |
Return bus from channel domain or throw exception if it does not exist. |
|
getBuses ( ) : Kraken\Channel\ChannelInterface[] | Kraken\Channel\ChannelCompositeInterface[] |
Return all buses existing in channel domain. |
|
removeBus ( string $name ) : Kraken\Channel\ChannelCompositeInterface |
Remove bus from channel domain if it does exist. |
|
setBus ( string $name, Kraken\Channel\ChannelInterface | Kraken\Channel\ChannelCompositeInterface $channel ) : Kraken\Channel\ChannelCompositeInterface |
Add or replace existing bus in channel domain. |
|