Documentation

AssetFetcherInterface

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
throws
AssetFetchingException

If fetching fails.

Return values
string

The fetched data.


        
On this page

Search results