interface AssetSourceInterface (View source)

Methods

createFromConfiguration(string $assetSourceIdentifier, array $assetSourceOptions)

This factory method is used instead of a constructor in order to not dictate a __construct() signature in this interface (which might conflict with an asset source's implementation or generated Flow proxy class).

string
getIdentifier()

A unique string which identifies the concrete asset source.

string
getLabel()

No description

bool
isReadOnly()

No description

Details

static AssetSourceInterface createFromConfiguration(string $assetSourceIdentifier, array $assetSourceOptions)

This factory method is used instead of a constructor in order to not dictate a __construct() signature in this interface (which might conflict with an asset source's implementation or generated Flow proxy class).

Parameters

string $assetSourceIdentifier
array $assetSourceOptions

Return Value

AssetSourceInterface

string getIdentifier()

A unique string which identifies the concrete asset source.

Must match /^[a-z][a-z0-9-]{0,62}[a-z]$/

Return Value

string

string getLabel()

No description

Return Value

string

AssetProxyRepositoryInterface getAssetProxyRepository()

No description

bool isReadOnly()

No description

Return Value

bool