SvgFilesSanitization implements UpgradeWizardInterface, ConfirmableInterface
This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.
Attributes
- #[UpgradeWizard]
- 'svgFilesSanitization'
Table of Contents
Interfaces
- UpgradeWizardInterface
- Interface UpgradeWizardInterface
- ConfirmableInterface
- Use if upgrade wizard needs confirmation
Properties
Methods
- __construct() : mixed
- executeUpdate() : bool
- Execute the update
- getConfirmation() : Confirmation
- Return a confirmation message instance
- getDescription() : string
- Return the description for this wizard
- getPrerequisites() : array<string|int, string>
- Returns an array of class names of Prerequisite classes
- getTitle() : string
- Return the speaking name of this wizard
- updateNecessary() : bool
- To avoid timeout issues, no check is performed in advance
- processSvgFiles() : bool
- resolveLocalStorages() : array<string|int, ResourceStorage>
- resolveSvgFiles() : array<string|int, File>
Properties
$confirmation
protected
Confirmation
$confirmation
$storageRepository
protected
StorageRepository
$storageRepository
Methods
__construct()
public
__construct() : mixed
executeUpdate()
Execute the update
public
executeUpdate() : bool
Called when a wizard reports that an update is necessary
Return values
boolgetConfirmation()
Return a confirmation message instance
public
getConfirmation() : Confirmation
Return values
ConfirmationgetDescription()
Return the description for this wizard
public
getDescription() : string
Return values
stringgetPrerequisites()
Returns an array of class names of Prerequisite classes
public
getPrerequisites() : array<string|int, string>
This way a wizard can define dependencies like "database up-to-date" or "reference index updated"
Return values
array<string|int, string>getTitle()
Return the speaking name of this wizard
public
getTitle() : string
Return values
stringupdateNecessary()
To avoid timeout issues, no check is performed in advance
public
updateNecessary() : bool
Return values
boolprocessSvgFiles()
protected
processSvgFiles() : bool
Return values
boolresolveLocalStorages()
protected
resolveLocalStorages() : array<string|int, ResourceStorage>
Return values
array<string|int, ResourceStorage>resolveSvgFiles()
protected
resolveSvgFiles(ResourceStorage $storage) : array<string|int, File>
Parameters
- $storage : ResourceStorage