| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public static function childRoleAlreadyAttachedToGivenParentRole(string $childName, string $parentName): self |
||
| 36 | { |
||
| 37 | $e = new self("Child role already attached to parent role."); |
||
| 38 | $e->additionalParams = ['childRoleName' => $childName, 'parentRoleName' => $parentName]; |
||
| 39 | |||
| 40 | return $e; |
||
| 41 | } |
||
| 52 |