duncan3dc\Sonos\Network::clearTopology PHP Метод

clearTopology() публичный Метод

Reset any previously gathered speaker information.
public clearTopology ( ) : static
Результат static
    public function clearTopology()
    {
        $this->speakers = null;
        return $this;
    }

Usage Example

Пример #1
0
 /**
  * Removes the specified speaker from the group of this Controller.
  *
  * @param Speaker $speaker The speaker to remove from the group
  *
  * @return static
  */
 public function removeSpeaker(Speaker $speaker)
 {
     $speaker->soap("AVTransport", "BecomeCoordinatorOfStandaloneGroup");
     $this->network->clearTopology();
     return $this;
 }