Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2.0185 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | 4 | protected static function getReflectionComposite() |
|
24 | { |
||
25 | 4 | if (!static::$reflectionComposite) |
|
26 | { |
||
27 | static::$reflectionComposite = |
||
28 | 1 | ReflectionCompositeFactory::fromClassName |
|
29 | ( |
||
30 | get_called_class() |
||
31 | ) |
||
32 | 1 | ->build(); |
|
33 | } |
||
34 | |||
35 | 4 | return static::$reflectionComposite; |
|
36 | } |
||
37 | } |
||
38 |