Total Complexity | 5 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | final class ScopeMother |
||
11 | { |
||
12 | public static function example() : Scope |
||
13 | { |
||
14 | return (new ScopeBuilder()) |
||
15 | ->build(); |
||
16 | } |
||
17 | |||
18 | public static function withSubject(Reflector $reflector) : Scope |
||
19 | { |
||
20 | return (new ScopeBuilder()) |
||
21 | ->withSubject($reflector) |
||
22 | ->build(); |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param string[] $names |
||
27 | */ |
||
28 | public static function withIgnoredAnnotations(array $names) : Scope |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param string[] $importsMap |
||
37 | */ |
||
38 | public static function withImports(array $importsMap) : Scope |
||
43 | } |
||
44 | |||
45 | public static function withNestingLevel(int $level) : Scope |
||
52 |