FactoryInterface
in
Factory for creating Track instances.
Table of Contents
Methods
- createFromUri() : TrackInterface
- Create a new Track instance from a URI.
- createFromXml() : TrackInterface
- Create a new Track instance from a URI.
Methods
createFromUri()
Create a new Track instance from a URI.
public
createFromUri(string $uri) : TrackInterface
Parameters
- $uri : string
Return values
TrackInterfacecreateFromXml()
Create a new Track instance from a URI.
public
createFromXml(ElementInterface $xml) : TrackInterface
Parameters
- $xml : ElementInterface
-
The xml element representing the track meta data.