SvgSanitizer
Read onlyYes
Table of Contents
Methods
- sanitizeContent() : string
- sanitizeFile() : void
Methods
sanitizeContent()
public
sanitizeContent(string $svg) : string
Parameters
- $svg : string
Return values
stringsanitizeFile()
public
sanitizeFile(string $sourcePath[, string|null $targetPath = null ]) : void
Parameters
- $sourcePath : string
- $targetPath : string|null = null