ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FileUpload.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26interface FileUpload
27{
28 public function getUploadHandler(): UploadHandler;
29
37 public function withMaxFileSize(int $size_in_bytes): FileUpload;
38
39 public function getMaxFileSize(): int;
40
41 public function withMaxFiles(int $max_file_amount): FileUpload;
42
43 public function getMaxFiles(): int;
44
48 public function withAcceptedMimeTypes(array $mime_types): FileUpload;
49
53 public function getAcceptedMimeTypes(): array;
54}
withMaxFileSize(int $size_in_bytes)
Get an instance like this with a local upload-size limitation.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Checkbox.php:21