/** * Remove an asset while first validating if the object can be removed or * if removal is blocked because the asset is still in use. * * @param AssetInterface $object * @return void */ public function remove($object) { $this->assetService->validateRemoval($object); parent::remove($object); $this->assetService->emitAssetRemoved($object); }