Documentation

AssetFetcher
in package
implements LoggerAwareInterface, AssetFetcherInterface uses PsrLogAwareTrait

Table of Contents

Interfaces

LoggerAwareInterface
Describes a logger-aware instance.
AssetFetcherInterface

Properties

$logger  : LoggerInterface
$contentLoader  : mixed
$http  : mixed
$mpdf  : mixed

Methods

__construct()  : mixed
fetchDataFromPath()  : string
Fetch data from a given path, either local or remote.
fetchLocalContent()  : mixed
fetchRemoteContent()  : mixed
isPathLocal()  : mixed
setLogger()  : void

Properties

Methods

fetchDataFromPath()

Fetch data from a given path, either local or remote.

public fetchDataFromPath(mixed $path[, mixed $originalSrc = null ]) : string
Parameters
$path : mixed

The path to fetch data from.

$originalSrc : mixed = null

The original source path, if applicable.

Return values
string

The fetched data.

fetchLocalContent()

public fetchLocalContent(mixed $path, mixed $originalSrc) : mixed
Parameters
$path : mixed
$originalSrc : mixed

fetchRemoteContent()

public fetchRemoteContent(mixed $path) : mixed
Parameters
$path : mixed

isPathLocal()

public isPathLocal(mixed $path) : mixed
Parameters
$path : mixed

        
On this page

Search results