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