ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
File.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
4
8interface File extends Input
9{
10 public function withAcceptedMimeTypes(array $mime_types) : File;
11
12
13 public function getAcceptedMimeTypes() : array;
14
15
16 public function withMaxFileSize(int $size_in_bytes) : File;
17
18
19 public function getMaxFileFize() : int;
20
21
22 public function getUploadHandler() : UploadHandler;
23}
An exception for terminatinating execution or to throw for unit testing.
This describes file field.
Definition: File.php:9
withAcceptedMimeTypes(array $mime_types)
withMaxFileSize(int $size_in_bytes)
This describes commonalities between all inputs.
Definition: Input.php:32