\duncan3dc\Sonos\Interfaces\DevicesCollectionInterface

Manage a group of devices.

Summary

Methods
Constants
addDevice()
addIp()
getDevices()
clear()
getLogger()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

addIp()

addIp(string  $address) : $this

Add a device to this collection using its IP address

Parameters

string $address

The IP address of the device to add

Returns

$this

clear()

clear() : $this

Remove all devices from this collection.

Returns

$this

getLogger()

getLogger() : \Psr\Log\LoggerInterface

Get the logger currently in use.

Returns

\Psr\Log\LoggerInterface