class ImportedAssetManager (View source)

Properties

protected PersistenceManagerInterface $persistenceManager
protected ImportedAssetRepository $importedAssetRepository
protected LoggerInterface $logger

Methods

registerImportedAsset(ImportedAsset $importedAsset)

No description

registerCreatedAsset(AssetInterface $asset)

Register that an asset was created.

registerRemovedAsset(AssetInterface $asset)

When an asset was removed (supposedly by a user), also remove the corresponding entry in the imported assets registry

Details

registerImportedAsset(ImportedAsset $importedAsset)

No description

Parameters

ImportedAsset $importedAsset

Exceptions

IllegalObjectTypeException

registerCreatedAsset(AssetInterface $asset)

Register that an asset was created.

Wired via signal-slot with AssetService::assetCreated – see Package.php

Parameters

AssetInterface $asset

Exceptions

IllegalObjectTypeException

registerRemovedAsset(AssetInterface $asset)

When an asset was removed (supposedly by a user), also remove the corresponding entry in the imported assets registry

Wired via signal-slot with AssetService::assetRemoved – see Package.php

Parameters

AssetInterface $asset

Exceptions

IllegalObjectTypeException