Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2.1481 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | 1 | protected static function getReflectionComposite() |
|
40 | { |
||
41 | 1 | if (!static::$reflectionComposite) |
|
42 | { |
||
43 | static::$reflectionComposite = |
||
44 | 1 | ReflectionCompositeFactory::fromClassName |
|
45 | ( |
||
46 | get_called_class() |
||
47 | ) |
||
48 | 1 | ->build(); |
|
49 | } |
||
50 | |||
51 | return static::$reflectionComposite; |
||
52 | } |
||
53 | } |
||
54 |