ImportedAssetManager
class ImportedAssetManager (View source)
Properties
protected PersistenceManagerInterface | $persistenceManager | ||
protected ImportedAssetRepository | $importedAssetRepository | ||
protected LoggerInterface | $logger |
Methods
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
registerCreatedAsset(AssetInterface $asset)
Register that an asset was created.
Wired via signal-slot with AssetService::assetCreated – see Package.php
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