1 | <?php |
||
17 | class TypeInfo implements InfoPartInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $mimeType; |
||
23 | |||
24 | /** |
||
25 | * Constructor. |
||
26 | * |
||
27 | * @internal |
||
28 | * |
||
29 | * @param string $mimeType |
||
30 | */ |
||
31 | 5 | public function __construct($mimeType) |
|
35 | |||
36 | /** |
||
37 | * Returns the MIME type of a file. |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | 4 | public function getMimeType() |
|
45 | } |
||
46 |