import(string $uri, string $etag, string $lastModified) : \Zend\Feed\Reader\Feed\FeedInterface
string
The URI to the feed
string
OPTIONAL Last received ETag for this resource
string
OPTIONAL Last-Modified value for this resource
\Zend\Feed\Reader\Exception\RuntimeException |
---|
importFile(string $filename) : \Zend\Feed\Reader\Feed\FeedInterface
importRemoteFeed(string $uri, \Zend\Feed\Reader\Http\ClientInterface $client) : \Zend\Feed\Reader\self
Performs similarly to import(), except it uses the HTTP client passed to the method, and does not take into account cached data.
Primary purpose is to make it possible to use the Reader with alternate HTTP client implementations.
string
\Zend\Feed\Reader\Exception\RuntimeException |
if response is not an Http\ResponseInterface |
---|
\Zend\Feed\Reader\self
importString(string $string) : \Zend\Feed\Reader\Feed\FeedInterface
string
\Zend\Feed\Reader\Exception\InvalidArgumentException |
|
---|---|
\Zend\Feed\Reader\Exception\RuntimeException |