final class AssetSourceService (View source)

A service for Asset Sources and Asset Proxies

Properties

protected array $assetSourcesConfiguration
protected ImportedAssetManager $importedAssetManager
protected ImportedAssetRepository $importedAssetRepository
protected AssetModelMappingStrategyInterface $assetModelMappingStrategy
protected ResourceManager $resourceManager
protected AssetRepository $assetRepository
protected PersistenceManagerInterface $persistenceManager
protected LoggerInterface $systemLogger

Methods

array
getAssetSources()

No description

importAsset(string $assetSourceIdentifier, string $assetIdentifier)

Import a specified asset from the given Asset Source

Details

array getAssetSources()

No description

Return Value

array

ImportedAsset importAsset(string $assetSourceIdentifier, string $assetIdentifier)

Import a specified asset from the given Asset Source

Parameters

string $assetSourceIdentifier

Identifier of the asset source to import from, e.g. "neos"

string $assetIdentifier

The asset-source specific identifier of the asset to import

Return Value

ImportedAsset

Exceptions

AssetSourceServiceException
Exception