You are here

public static function ReaderImportInterface::importRemoteFeed in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/ReaderImportInterface.php \Zend\Feed\Reader\ReaderImportInterface::importRemoteFeed()

Import a feed from a remote URI

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.

Parameters

string $uri:

Http\ClientInterface $client:

Return value

self

Throws

Exception\RuntimeException if response is not an Http\ResponseInterface

1 method overrides ReaderImportInterface::importRemoteFeed()
Reader::importRemoteFeed in vendor/zendframework/zend-feed/src/Reader/Reader.php
Import a feed from a remote URI

File

vendor/zendframework/zend-feed/src/Reader/ReaderImportInterface.php, line 40

Class

ReaderImportInterface

Namespace

Zend\Feed\Reader

Code

public static function importRemoteFeed($uri, Http\ClientInterface $client);