\duncan3dc\Sonos\DevicesFactory

Summary

Methods
Properties
Constants
__construct()
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$cache
$logger
N/A

Properties

$cache

$cache : \Psr\SimpleCache\CacheInterface

Type

\Psr\SimpleCache\CacheInterface — The cache object to use for finding Sonos devices on the network.

$logger

$logger : \Psr\Log\LoggerInterface

Type

\Psr\Log\LoggerInterface — The logging object.

Methods

__construct()

__construct(\Psr\SimpleCache\CacheInterface  $cache = null, \Psr\Log\LoggerInterface  $logger = null) 

Create a new instance.

Parameters

\Psr\SimpleCache\CacheInterface $cache

The cache object to use for finding Sonos devices on the network

\Psr\Log\LoggerInterface $logger

A logging object