SvgEventListener
Table of Contents
Properties
Methods
- __construct() : mixed
- afterFileContentsSet() : void
- beforeFileAdded() : void
- beforeFileReplaced() : void
Properties
$sanitizer
protected
SvgSanitizer
$sanitizer
$typeCheck
protected
SvgTypeCheck
$typeCheck
Methods
__construct()
public
__construct(SvgSanitizer $sanitizer, SvgTypeCheck $typeCheck) : mixed
Parameters
- $sanitizer : SvgSanitizer
- $typeCheck : SvgTypeCheck
afterFileContentsSet()
public
afterFileContentsSet(AfterFileContentsSetEvent $event) : void
Parameters
- $event : AfterFileContentsSetEvent
Attributes
- #[AsEventListener]
- 'svg-resource-storage-listener-after-file-content-set'
beforeFileAdded()
public
beforeFileAdded(BeforeFileAddedEvent $event) : void
Parameters
- $event : BeforeFileAddedEvent
Attributes
- #[AsEventListener]
- 'svg-resource-storage-listener-before-file-added'
beforeFileReplaced()
public
beforeFileReplaced(BeforeFileReplacedEvent $event) : void
Parameters
- $event : BeforeFileReplacedEvent
Attributes
- #[AsEventListener]
- 'svg-resource-storage-listener-before-file-replaced'