public function RawFetcherResult::getRaw in Feeds 8.3
Returns the file provided by the fetcher as a string.
Return value
string The raw content from the source as a string.
Throws
\RuntimeException Thrown if an unexpected problem occurred usually regarding file handling.
Overrides FetcherResult::getRaw
1 call to RawFetcherResult::getRaw()
- RawFetcherResult::getFilePath in src/
Result/ RawFetcherResult.php - Returns the path to the file containing the file provided by the fetcher.
File
- src/
Result/ RawFetcherResult.php, line 50
Class
- RawFetcherResult
- A fetcher result object that accepts a raw string.
Namespace
Drupal\feeds\ResultCode
public function getRaw() {
return $this
->sanitizeRaw($this->raw);
}