|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class PreProcessorManagerImpl. More...
Inheritance diagram for ILIAS\FileUpload\Processor\PreProcessorManagerImpl:
Collaboration diagram for ILIAS\FileUpload\Processor\PreProcessorManagerImpl:Public Member Functions | |
| with (PreProcessor $processor) | |
| @inheritDoc More... | |
| process (FileStream $stream, Metadata $metadata) | |
| @inheritDoc More... | |
| with (PreProcessor $processor) | |
| Adds the processor to the current manager. More... | |
| process (FileStream $stream, Metadata $metadata) | |
| Invokes the registered processors until one rejects the file or fails. More... | |
Private Attributes | |
| array | $processors = [] |
Class PreProcessorManagerImpl.
A pool of preprocessors which can be executed for a particular stream. If once of the processors fail while processing a stream, it will get rejected to protect ILIAS.
Definition at line 37 of file PreProcessorManagerImpl.php.
| ILIAS\FileUpload\Processor\PreProcessorManagerImpl::process | ( | FileStream | $stream, |
| Metadata | $metadata | ||
| ) |
@inheritDoc
Implements ILIAS\FileUpload\Processor\PreProcessorManager.
Definition at line 56 of file PreProcessorManagerImpl.php.
References ILIAS\FileUpload\DTO\ProcessingStatus\DENIED, ILIAS\FileUpload\DTO\ProcessingStatus\OK, and ILIAS\FileUpload\DTO\ProcessingStatus\REJECTED.
| ILIAS\FileUpload\Processor\PreProcessorManagerImpl::with | ( | PreProcessor | $processor | ) |
@inheritDoc
Implements ILIAS\FileUpload\Processor\PreProcessorManager.
Definition at line 47 of file PreProcessorManagerImpl.php.
|
private |
Definition at line 42 of file PreProcessorManagerImpl.php.