1 | <?php declare(strict_types = 1); |
||
9 | class Image |
||
10 | { |
||
11 | /** |
||
12 | * The directory path of to the image. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | private $path; |
||
17 | |||
18 | /** |
||
19 | * The file extension for the image. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | private $extension; |
||
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | public function getPath() |
||
32 | |||
33 | /** |
||
34 | * @param string $path |
||
35 | */ |
||
36 | public function setPath(string $path) |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getExtension() |
||
48 | |||
49 | /** |
||
50 | * @param string $extension |
||
51 | */ |
||
52 | public function setExtension(string $extension) |
||
56 | } |
||
57 |