Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 4 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
10 | class FunctionReflection |
||
11 | { |
||
12 | /** |
||
13 | * Get the string representation of the anonymous function. |
||
14 | * |
||
15 | * @param \Closure $closure The anonymous function. |
||
16 | * |
||
17 | * @throws \ReflectionException |
||
18 | * |
||
19 | * @return string |
||
20 | */ |
||
21 | public static function toString(Closure $closure): string |
||
44 |