public function getSpeakers(): array
    {
        $group = [];
        $speakers = $this->network->getSpeakers();
        foreach ($speakers as $speaker) {
            if ($speaker->getGroup() === $this->getGroup()) {
                $group[] = $speaker;
            }
        }
        return $group;
    }
public function getSpeakers(): array
    {
        $group = [];
        $speakers = $this->network->getSpeakers();
        foreach ($speakers as $speaker) {
            if ($speaker->getGroup() === $this->getGroup()) {
                $group[] = $speaker;
            }
        }
        return $group;
    }
public function getSpeakers ( ) : array { $ group = [ ] ; $ speakers = $ this -> network -> getSpeakers ( ) ; foreach ( $ speakers as $ speaker ) { if ( $ speaker -> getGroup ( ) === $ this -> getGroup ( ) ) { $ group [ ] = $ speaker ; } } return $ group ; }
Get the speakers that are in the group of this controller.

@return SpeakerInterface[]
Get the speakers that are in the group of this controller .