Conditions | 3 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
32 | 45 | public function __construct( |
|
33 | Reflector $subject, |
||
34 | Imports $imports, |
||
35 | IgnoredAnnotations $ignoredAnnotations, |
||
36 | int $nestingLevel = 0 |
||
37 | ) { |
||
38 | 45 | assert( |
|
39 | 45 | $subject instanceof ReflectionClass |
|
40 | 3 | || $subject instanceof ReflectionProperty |
|
41 | 45 | || $subject instanceof ReflectionFunctionAbstract |
|
42 | ); |
||
43 | 45 | assert($nestingLevel >= 0); |
|
44 | |||
45 | 45 | $this->subject = $subject; |
|
46 | 45 | $this->imports = $imports; |
|
47 | 45 | $this->ignoredAnnotations = $ignoredAnnotations; |
|
48 | 45 | $this->nestingLevel = $nestingLevel; |
|
49 | 45 | } |
|
86 |