Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class LoadedRoute |
||
10 | { |
||
11 | 5 | public function __construct( |
|
12 | private string $className, |
||
|
|||
13 | private string $methodName, |
||
14 | private Route $route |
||
15 | ) { |
||
16 | 5 | } |
|
17 | |||
18 | 5 | public function getClassName() : string |
|
19 | { |
||
20 | 5 | return $this->className; |
|
21 | } |
||
22 | |||
23 | 5 | public function getMethodName() : string |
|
24 | { |
||
25 | 5 | return $this->methodName; |
|
26 | } |
||
27 | |||
28 | 5 | public function getRoute() : Route |
|
29 | { |
||
30 | 5 | return $this->route; |
|
31 | } |
||
32 | } |
||
33 |