import(string $uri, string $etag, string $lastModified) : \Zend\Feed\Reader\Feed\FeedInterface
stringThe URI to the feed
stringOPTIONAL Last received ETag for this resource
stringOPTIONAL 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\selfimportString(string $string) : \Zend\Feed\Reader\Feed\FeedInterface
string
\Zend\Feed\Reader\Exception\InvalidArgumentException |
|
|---|---|
\Zend\Feed\Reader\Exception\RuntimeException |