You are here

public function DataFetcherPluginInterface::getResponse in Migrate Plus 8

Same name and namespace in other branches
  1. 8.5 src/DataFetcherPluginInterface.php \Drupal\migrate_plus\DataFetcherPluginInterface::getResponse()
  2. 8.2 src/DataFetcherPluginInterface.php \Drupal\migrate_plus\DataFetcherPluginInterface::getResponse()
  3. 8.3 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

1 method overrides DataFetcherPluginInterface::getResponse()
Http::getResponse in src/Plugin/migrate_plus/data_fetcher/Http.php
Return Http Response object for a given url.

File

src/DataFetcherPluginInterface.php, line 52
Contains \Drupal\migrate_plus\DataFetcherPluginInterface.

Class

DataFetcherPluginInterface
Defines an interface for data fetchers.

Namespace

Drupal\migrate_plus

Code

public function getResponse($url);