Total Complexity | 9 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait InputFile |
||
10 | { |
||
11 | |||
12 | private mixed $inputFile; |
||
13 | private bool $multipart = false; |
||
14 | |||
15 | |||
16 | /** |
||
17 | * InputFile constructor. |
||
18 | * @param mixed $inputFile |
||
19 | * @throws InvalidArgumentException |
||
20 | * @throws BadFileException |
||
21 | */ |
||
22 | public function __construct(mixed $inputFile) |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @return mixed |
||
47 | */ |
||
48 | public function getInputFile(): mixed |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @return bool |
||
55 | */ |
||
56 | public function isMultipart(): bool |
||
62 |