@@ 486-496 (lines=11) @@ | ||
483 | * @override |
|
484 | * @inheritDoc |
|
485 | */ |
|
486 | public function getConnected() |
|
487 | { |
|
488 | $conns = []; |
|
489 | ||
490 | foreach ($this->buses as $channel) |
|
491 | { |
|
492 | $conns = array_merge($conns, $channel->getConnected()); |
|
493 | } |
|
494 | ||
495 | return array_values(array_unique($conns)); |
|
496 | } |
|
497 | ||
498 | /** |
|
499 | * @override |
|
@@ 502-512 (lines=11) @@ | ||
499 | * @override |
|
500 | * @inheritDoc |
|
501 | */ |
|
502 | public function filterConnected($pattern) |
|
503 | { |
|
504 | $conns = []; |
|
505 | ||
506 | foreach ($this->buses as $channel) |
|
507 | { |
|
508 | $conns = array_merge($conns, $channel->filterConnected($pattern)); |
|
509 | } |
|
510 | ||
511 | return array_values(array_unique($conns)); |
|
512 | } |
|
513 | ||
514 | /** |
|
515 | * @param string $name |