ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
PreProcessorManager.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\FileUpload\Processor
;
4
5
use
ILIAS\Filesystem\Stream\FileStream
;
6
use
ILIAS\FileUpload\DTO\Metadata
;
7
use
ILIAS\FileUpload\DTO\ProcessingStatus
;
8
use
Psr\Http\Message\StreamInterface
;
9
22
interface
PreProcessorManager
23
{
24
34
public
function
with
(
PreProcessor
$processor);
35
36
47
public
function
process
(
FileStream
$stream
,
Metadata
$metadata
);
48
}
ILIAS\FileUpload\Processor\PreProcessor
Class PreProcessor.
Definition:
PreProcessor.php:22
ILIAS\FileUpload\Processor\PreProcessorManager
Class PreProcessorManager.
Definition:
PreProcessorManager.php:22
$metadata
$metadata['__DYNAMIC:1__']
Definition:
adfs-idp-hosted.php:3
GuzzleHttp\Psr7\$stream
$stream
PHP stream implementation.
Definition:
MessageTrait.php:21
ProcessingStatus
ILIAS\FileUpload\Processor\PreProcessorManager\with
with(PreProcessor $processor)
Adds the processor to the current manager.
ILIAS\FileUpload\Processor
Definition:
BlacklistExtensionPreProcessor.php:3
ILIAS\FileUpload\DTO\Metadata
Class Metadata.
Definition:
Metadata.php:21
StreamInterface
Metadata
FileStream
ILIAS\Filesystem\Stream\FileStream
Interface FileStream.
Definition:
FileStream.php:20
ILIAS\FileUpload\Processor\PreProcessorManager\process
process(FileStream $stream, Metadata $metadata)
Invokes the registered processors until one rejects the file or fails.
src
FileUpload
Processor
PreProcessorManager.php
Generated on Sat Jan 18 2025 19:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)