interface Mapper

Defines the contract for resolving asset references to Asset objects.

Implementations handle specific storage backends (filesystem, CDN, etc.).

Methods

getAsset(string $reference, array $options = [])

Retrieves an Asset instance for a given mapper-specific reference string.

Details

at line 18
Asset getAsset(string $reference, array $options = [])

Retrieves an Asset instance for a given mapper-specific reference string.

Parameters

string $reference
array $options

Return Value

Asset

Exceptions

AssetNotFoundException