You are here

public function DataFetcherPluginInterface::getResponse in Migrate Plus 8.3

Same name and namespace in other branches
  1. 8.5 src/DataFetcherPluginInterface.php \Drupal\migrate_plus\DataFetcherPluginInterface::getResponse()
  2. 8 src/DataFetcherPluginInterface.php \Drupal\migrate_plus\DataFetcherPluginInterface::getResponse()
  3. 8.2 src/DataFetcherPluginInterface.php \Drupal\migrate_plus\DataFetcherPluginInterface::getResponse()
  4. 8.4 src/DataFetcherPluginInterface.php \Drupal\migrate_plus\DataFetcherPluginInterface::getResponse()

Return Http Response object for a given url.

Parameters

$url: URL to retrieve from.

Return value

\Psr\Http\Message\ResponseInterface

2 methods override DataFetcherPluginInterface::getResponse()
File::getResponse in src/Plugin/migrate_plus/data_fetcher/File.php
Return Http Response object for a given url.
Http::getResponse in src/Plugin/migrate_plus/data_fetcher/Http.php
Return Http Response object for a given url.

File

src/DataFetcherPluginInterface.php, line 47

Class

DataFetcherPluginInterface
Defines an interface for data fetchers.

Namespace

Drupal\migrate_plus

Code

public function getResponse($url);