$username
$username : string
$api : \duncan3dc\Sonos\Cloud\Interfaces\ApiInterface
__construct(string $username, \duncan3dc\Sonos\Cloud\Interfaces\ApiInterface $api, \Psr\SimpleCache\CacheInterface $cache)
Create a new instance.
string | $username | |
\duncan3dc\Sonos\Cloud\Interfaces\ApiInterface | $api | |
\Psr\SimpleCache\CacheInterface | $cache |
getHouseholds() : \duncan3dc\Sonos\Cloud\Interfaces\iterable|array<mixed,\duncan3dc\Sonos\Cloud\Interfaces\HouseholdInterface>
Get all the households this user has access to.
getHousehold(\duncan3dc\Sonos\Cloud\string $id) : \duncan3dc\Sonos\Cloud\Interfaces\HouseholdInterface
Get a household this user has access to.
\duncan3dc\Sonos\Cloud\string | $id |