Total Complexity | 6 |
Total Lines | 65 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class ProjectVersion implements SingletonInterface |
||
24 | { |
||
25 | const UNKNOWN_VERSION = 'LLL:EXT:project_version/Resources/Private/Language/Backend.xlf:toolbarItems.sysinfo.project-version.unknown'; |
||
26 | |||
27 | /** |
||
28 | * @var string $title |
||
29 | */ |
||
30 | protected $title = 'LLL:EXT:project_version/Resources/Private/Language/Backend.xlf:toolbarItems.sysinfo.project-version'; |
||
31 | |||
32 | /** |
||
33 | * @var string $version |
||
34 | */ |
||
35 | protected $version = self::UNKNOWN_VERSION; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $iconIdentifier = 'information-project-version'; |
||
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getTitle(): string |
||
46 | { |
||
47 | return $this->title; |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * @param string $title |
||
52 | */ |
||
53 | public function setTitle(string $title) |
||
54 | { |
||
55 | $this->title = $title; |
||
56 | } |
||
57 | |||
58 | /** |
||
59 | * @return string |
||
60 | */ |
||
61 | public function getVersion(): string |
||
64 | } |
||
65 | |||
66 | /** |
||
67 | * @param string $version |
||
68 | */ |
||
69 | public function setVersion(string $version) |
||
72 | } |
||
73 | |||
74 | /** |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getIconIdentifier(): string |
||
78 | { |
||
79 | return $this->iconIdentifier; |
||
80 | } |
||
81 | |||
82 | /** |
||
83 | * @param string $iconIdentifier |
||
84 | */ |
||
85 | public function setIconIdentifier(string $iconIdentifier) |
||
88 | } |
||
89 | } |
||
90 |