AssetFetcherInterface
in
Table of Contents
Methods
- fetchDataFromPath() : string
- Fetch data from a given path, either local or remote.
Methods
fetchDataFromPath()
Fetch data from a given path, either local or remote.
public
fetchDataFromPath(string $path[, string|null $originalSrc = null ]) : string
Parameters
- $path : string
-
The path to fetch data from.
- $originalSrc : string|null = null
-
The original source path, if applicable.
Tags
Return values
string —The fetched data.