1 | <?php |
||
14 | class Version |
||
15 | { |
||
16 | /** @var string */ |
||
17 | private $name; |
||
18 | |||
19 | /** @var string */ |
||
20 | private $pretty; |
||
21 | |||
22 | /** @var string */ |
||
23 | private $fullPretty; |
||
24 | |||
25 | /** |
||
26 | * @param string $name |
||
27 | * @param string $pretty |
||
28 | * @param string $fullPretty |
||
29 | */ |
||
30 | 94 | public function __construct($name, $pretty, $fullPretty) |
|
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | 22 | public function getName() |
|
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | 68 | public function getPretty() |
|
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | 8 | public function getFullPretty() |
|
60 | |||
61 | /** |
||
62 | * Return whether the version is dev or not. |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | 46 | public function isDev() |
|
70 | } |
||
71 |