public function DataFetcherPluginInterface::getResponse in Migrate Plus 8.5
Same name and namespace in other branches
- 8 src/DataFetcherPluginInterface.php \Drupal\migrate_plus\DataFetcherPluginInterface::getResponse()
- 8.2 src/DataFetcherPluginInterface.php \Drupal\migrate_plus\DataFetcherPluginInterface::getResponse()
- 8.3 src/DataFetcherPluginInterface.php \Drupal\migrate_plus\DataFetcherPluginInterface::getResponse()
- 8.4 src/DataFetcherPluginInterface.php \Drupal\migrate_plus\DataFetcherPluginInterface::getResponse()
Return Http Response object for a given url.
Parameters
string $url: URL to retrieve from.
Return value
\Psr\Http\Message\ResponseInterface The HTTP response message.
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 48
Class
- DataFetcherPluginInterface
- Defines an interface for data fetchers.
Namespace
Drupal\migrate_plusCode
public function getResponse($url);