public function FetcherResultInterface::getFilePath in Feeds 8.3
Returns the path to the file containing the file provided by the fetcher.
When it comes to preference and efficiency, this method should be used whenever possible by parsers so that they do not have to load the entire file into memory.
Return value
string A path to a file containing the raw content of a feed.
Throws
\RuntimeException Thrown if an unexpected problem occurred usually regarding file handling.
1 method overrides FetcherResultInterface::getFilePath()
- FetcherResult::getFilePath in src/
Result/ FetcherResult.php - Returns the path to the file containing the file provided by the fetcher.
File
- src/
Result/ FetcherResultInterface.php, line 34
Class
- FetcherResultInterface
- Defines the interface for result objects returned by fetcher plugins.
Namespace
Drupal\feeds\ResultCode
public function getFilePath();