‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent Class Reference

Public Member Functions

 __construct (private readonly DriverInterface $driver, private ProcessedFile $processedFile, private readonly FileInterface $file, private readonly string $taskType, private readonly array $configuration)
 
 getProcessedFile ()
 
 setProcessedFile (ProcessedFile $processedFile)
 
 getDriver ()
 
 getFile ()
 
 getTaskType ()
 
 getConfiguration ()
 

Detailed Description

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.

Definition at line 29 of file BeforeFileProcessingEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent::__construct ( private readonly DriverInterface  $driver,
private ProcessedFile  $processedFile,
private readonly FileInterface  $file,
private readonly string  $taskType,
private readonly array  $configuration 
)

Definition at line 31 of file BeforeFileProcessingEvent.php.

Member Function Documentation

◆ getConfiguration()

TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent::getConfiguration ( )

Definition at line 64 of file BeforeFileProcessingEvent.php.

◆ getDriver()

TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent::getDriver ( )

Definition at line 49 of file BeforeFileProcessingEvent.php.

◆ getFile()

TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent::getFile ( )

Definition at line 54 of file BeforeFileProcessingEvent.php.

◆ getProcessedFile()

TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent::getProcessedFile ( )

Definition at line 39 of file BeforeFileProcessingEvent.php.

◆ getTaskType()

TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent::getTaskType ( )

Definition at line 59 of file BeforeFileProcessingEvent.php.

◆ setProcessedFile()

TYPO3\CMS\Core\Resource\Event\BeforeFileProcessingEvent::setProcessedFile ( ProcessedFile  $processedFile)

Definition at line 44 of file BeforeFileProcessingEvent.php.