| Conditions | 3 |
| Paths | 4 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php namespace Limoncello\Core\Routing; |
||
| 37 | 8 | public function getName(): ?string |
|
| 38 | { |
||
| 39 | 8 | $parentGroupName = $this->parentGroup()->getName(); |
|
| 40 | 8 | $selfName = parent::getName(); |
|
| 41 | 8 | $result = $parentGroupName !== null || $selfName !== null ? $parentGroupName . $selfName : null; |
|
| 42 | |||
| 43 | 8 | return $result; |
|
| 44 | } |
||
| 45 | |||
| 56 |