BeforeFileProcessingEvent¶
The PSR-14 event \TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent
is fired before a file object is processed. This allows to add further
information or enrich the file before the processing is kicking in.
Example¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class \TYPO3\CMS\Core\Resource\Event\ BeforeFileProcessingEvent¶
-
This event is fired before a file object is processed.
Allows to add further information or enrich the file before the processing is kicking in.
- getProcessedFile ( ) ¶
-
- returntype
-
TYPO3\CMS\Core\Resource\ProcessedFile
- setProcessedFile ( TYPO3\\CMS\\Core\\Resource\\ProcessedFile $processedFile) ¶
-
- param TYPO3\\CMS\\Core\\Resource\\ProcessedFile $processedFile
-
the processedFile
- getDriver ( ) ¶
-
- returntype
-
TYPO3\CMS\Core\Resource\Driver\DriverInterface
- getFile ( ) ¶
-
- returntype
-
TYPO3\CMS\Core\Resource\FileInterface
- getTaskType ( ) ¶
-
- returntype
-
string
- getConfiguration ( ) ¶
-
- returntype
-
array