21use ILIAS\FileUpload\ScalarTypeCheckAware;
38 use ScalarTypeCheckAware;
69 $this->intTypeCheck(
$code,
'code');
70 $this->stringTypeCheck(
$reason,
'reason');
72 if (
$code !== self::OK &&
$code !== self::REJECTED &&
$code !== self::DENIED) {
73 throw new \InvalidArgumentException(
'Invalid upload status code received. The code must be OK or REJECTED.');
const REJECTED
Upload got rejected by a processor.
__construct(int $code, string $reason)
ProcessingStatus constructor.
const DENIED
Upload got denied by a processor, the upload will be removed immediately.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...