| Conditions | 5 |
| Paths | 8 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 30 |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public static function compose($isStatic, $useSplatOperator, $useVariadics) |
||
| 30 | { |
||
| 31 | $className = __NAMESPACE__ . '\\'; |
||
| 32 | $className .= $isStatic ? 'Static' : 'Dynamic'; |
||
| 33 | |||
| 34 | $className .= 'Closure'; |
||
| 35 | if ($useSplatOperator && !$isStatic) { |
||
| 36 | $className .= 'Splat'; |
||
| 37 | } |
||
| 38 | |||
| 39 | if ($useVariadics) { |
||
| 40 | $className .= 'Variadic'; |
||
| 41 | } |
||
| 42 | |||
| 43 | $className .= 'MethodInvocation'; |
||
| 44 | |||
| 45 | return $className; |
||
| 46 | } |
||
| 47 | } |
||
| 48 |