1 | <?php |
||
7 | class Mode implements AttributeInterface |
||
8 | { |
||
9 | use DumpTrait; |
||
10 | |||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $shortName; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $fullName; |
||
20 | |||
21 | /** |
||
22 | * @param string $shortName |
||
23 | * @param string $fullName |
||
24 | */ |
||
25 | 5 | public function __construct(string $shortName, string $fullName) |
|
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | 1 | public function getFullName(): string |
|
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | 1 | public function getShortName(): string |
|
46 | |||
47 | /** |
||
48 | * @return string |
||
49 | */ |
||
50 | 1 | public function __toString(): string |
|
54 | } |
||
55 |