Total Complexity | 4 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | final class ControlGroup |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | private $hierarchyId; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $controller; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $path; |
||
21 | |||
22 | /** |
||
23 | * @param string $hierarchyId |
||
24 | * @param string $controller |
||
25 | * @param string $path |
||
26 | */ |
||
27 | public function __construct( |
||
28 | $hierarchyId, |
||
29 | $controller, |
||
30 | $path |
||
31 | ) { |
||
32 | $this->hierarchyId = $hierarchyId; |
||
33 | $this->controller = $controller; |
||
34 | $this->path = $path; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | public function hierarchyId() |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | public function controller() |
||
49 | { |
||
50 | return $this->controller; |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function path() |
||
59 | } |
||
60 | } |
||
61 |