public function addSpeaker(SpeakerInterface $speaker): ControllerInterface
    {
        if ($speaker->getUuid() === $this->getUuid()) {
            return $this;
        }

        $speaker->soap("AVTransport", "SetAVTransportURI", [
            "CurrentURI"            =>  "x-rincon:" . $this->getUuid(),
            "CurrentURIMetaData"    =>  "",
        ]);

        $speaker->setGroup($speaker->getGroup());

        return $this;
    }
public function addSpeaker(SpeakerInterface $speaker): ControllerInterface
    {
        if ($speaker->getUuid() === $this->getUuid()) {
            return $this;
        }

        $speaker->soap("AVTransport", "SetAVTransportURI", [
            "CurrentURI"            =>  "x-rincon:" . $this->getUuid(),
            "CurrentURIMetaData"    =>  "",
        ]);

        $speaker->setGroup($speaker->getGroup());

        return $this;
    }
public function addSpeaker ( SpeakerInterface $ speaker ) : ControllerInterface { if ( $ speaker -> getUuid ( ) === $ this -> getUuid ( ) ) { return $ this ; } $ speaker -> soap ( "AVTransport" , "SetAVTransportURI" , [ "CurrentURI" => "x-rincon:" . $ this -> getUuid ( ) , "CurrentURIMetaData" => "" , ] ) ; $ speaker -> setGroup ( $ speaker -> getGroup ( ) ) ; return $ this ; }
Adds the specified speaker to the group of this Controller.

@param SpeakerInterface $speaker The speaker to add to the group

@return $this
Adds the specified speaker to the group of this Controller .