1 | <?php declare(strict_types = 1); |
||
5 | class File |
||
6 | { |
||
7 | /** |
||
8 | * The full path of the file. |
||
9 | * @var string |
||
10 | */ |
||
11 | private $fullPath; |
||
12 | |||
13 | /** |
||
14 | * The display path of the file. |
||
15 | * @var string |
||
16 | */ |
||
17 | private $displayPath; |
||
18 | |||
19 | /** |
||
20 | * File constructor. |
||
21 | * @param array $fileData Raw file data. |
||
22 | */ |
||
23 | public function __construct(array $fileData) |
||
28 | |||
29 | /** |
||
30 | * Get the full path of the file. |
||
31 | * @return string |
||
32 | */ |
||
33 | public function getFullPath(): string |
||
37 | |||
38 | /** |
||
39 | * Get the display path of the file. |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getDisplayPath(): string |
||
46 | } |
||
47 |