ProcessedImageCollector implements SingletonInterface
FinalYes
Collects the images processed during the current frontend request, so the "Info" admin panel module can list them. Implemented as a singleton so that all processing calls of a request accumulate in the same instance.
Table of Contents
Interfaces
- SingletonInterface
- "empty" interface for singletons (marker interface pattern)
Methods
- collect() : void
- getImages() : array<string, array{name: string, size: int, width: int, height: int}>
Methods
collect()
public
collect(AfterFileProcessingEvent $event) : void
Parameters
- $event : AfterFileProcessingEvent
Attributes
- #[AsEventListener]
- 'typo3/cms-adminpanel/collect-processed-images'
getImages()
public
getImages() : array<string, array{name: string, size: int, width: int, height: int}>