File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Domain/SubtreeTagging/SoftRemoval Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1616use Neos \ContentRepository \Core \SharedModel \ContentRepository \ContentRepositoryId ;
1717use Neos \ContentRepository \Core \SharedModel \Node \NodeAggregateId ;
1818use Neos \ContentRepository \Core \SharedModel \Workspace \WorkspaceName ;
19+ use Neos \Flow \Annotations \Scope ;
1920use Neos \Neos \AssetUsage \Dto \AssetUsageFilter ;
2021use Neos \Neos \AssetUsage \Dto \AssetUsages ;
2122
2223/**
2324 * @internal Not meant to be used in user land code. In order to look up asset usages the AssetUsageService or GlobalAssetUsageService can be used
2425 */
26+ #[Scope("singleton " )]
2527final class AssetUsageRepository
2628{
2729 public const TABLE = 'neos_asset_usage ' ;
Original file line number Diff line number Diff line change 1515use Neos \ContentRepository \Core \SharedModel \Workspace \Workspace ;
1616use Neos \ContentRepository \Core \SharedModel \Workspace \WorkspaceName ;
1717use Neos \ContentRepository \Core \SharedModel \Workspace \Workspaces ;
18+ use Neos \Flow \Annotations \Scope ;
1819use Neos \Flow \Persistence \Doctrine \PersistenceManager ;
1920use Neos \Media \Domain \Model \AssetInterface ;
2021use Neos \Media \Domain \Model \AssetVariantInterface ;
3435 * 2. Which cache entries do I need to flush on a change to an asset (this requires an additional traversal over all
3536 * dependent workspaces).
3637 */
38+ #[Scope("singleton " )]
3739final class AssetUsageIndexingService
3840{
3941 /** @var array <string, string> */
Original file line number Diff line number Diff line change 1919use Neos \ContentRepository \Core \SharedModel \ContentRepository \ContentRepositoryId ;
2020use Neos \ContentRepository \Core \SharedModel \Node \NodeAggregateId ;
2121use Neos \ContentRepository \Core \SharedModel \Workspace \WorkspaceName ;
22+ use Neos \Flow \Annotations \Scope ;
2223
2324/** @internal */
25+ #[Scope("singleton " )]
2426final readonly class ImpendingHardRemovalConflictRepository
2527{
2628 private const CONFLICT_TABLE_NAME = 'neos_neos_impending_hard_removal_conflict ' ;
You can’t perform that action at this time.
0 commit comments