24use Psr\Http\Message\StreamInterface;
51 $this->processors[] = $processor;
62 foreach ($this->processors as $processor) {
64 $result = $processor->process($stream, $metadata);
75 }
catch (\Exception $ex) {
An exception for terminatinating execution or to throw for unit testing.
const REJECTED
Upload got rejected by a processor.
const DENIED
Upload got denied by a processor, the upload will be removed immediately.
Class PreProcessorManagerImpl.
with(PreProcessor $processor)
@inheritDoc
process(FileStream $stream, Metadata $metadata)
@inheritDoc
Class PreProcessorManager.
Interface FileStream The base interface for all filesystem streams.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...