BeforeFileProcessingEvent
FinalYes
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.
Table of Contents
Methods
- __construct() : mixed
- getConfiguration() : array<string|int, mixed>
- getDriver() : DriverInterface
- getFile() : FileInterface
- getProcessedFile() : ProcessedFile
- getTaskType() : string
- setProcessedFile() : void
Methods
__construct()
public
__construct(DriverInterface $driver, ProcessedFile $processedFile, FileInterface $file, string $taskType, array<string|int, mixed> $configuration) : mixed
Parameters
- $driver : DriverInterface
- $processedFile : ProcessedFile
- $file : FileInterface
- $taskType : string
- $configuration : array<string|int, mixed>
getConfiguration()
public
getConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>getDriver()
public
getDriver() : DriverInterface
Return values
DriverInterfacegetFile()
public
getFile() : FileInterface
Return values
FileInterfacegetProcessedFile()
public
getProcessedFile() : ProcessedFile
Return values
ProcessedFilegetTaskType()
public
getTaskType() : string
Return values
stringsetProcessedFile()
public
setProcessedFile(ProcessedFile $processedFile) : void
Parameters
- $processedFile : ProcessedFile