createFromUri()
createFromUri(string $uri) : \duncan3dc\Sonos\Interfaces\TrackInterface
Create a new Track instance from a URI.
Parameters
string | $uri | The URI of the track |
Factory for creating Track instances.
createFromUri(string $uri) : \duncan3dc\Sonos\Interfaces\TrackInterface
Create a new Track instance from a URI.
string | $uri | The URI of the track |
createFromXml(\duncan3dc\DomParser\XmlElement $xml) : \duncan3dc\Sonos\Interfaces\TrackInterface
Create a new Track instance from a URI.
\duncan3dc\DomParser\XmlElement | $xml | The xml element representing the track meta data. |