ResourceConsistencyService

FinalYes

This service is invoked by ResourceStorage when modifying files, validating the following: + only explicitly allowed file-extensions are allowed: see `TYPO3_CONF_VARS` settings for `textfile_ext`, `mediafile_ext` and `miscfile_ext` + only files having valid file-extension to mime-type items are allowed: e.g. denies using `image.exe` with `image/png`

Internal
Tags
phpstan-type

ExceptionItem array{storage: ResourceStorage, resource: string|FileInterface, targetFileName: string}

phpstan-type

ExceptionItemCollection array<string, ExceptionItem>

Table of Contents

Methods

__construct()  : mixed
addExceptionItem()  : void
removeException()  : void
validate()  : void

Methods

removeException()

public removeException(string $identifier) : void
Parameters
$identifier : string

        
On this page

Search results