| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function __invoke(string $sourceCode) : ClassReflector |
||
| 21 | { |
||
| 22 | $astLocator = (new BetterReflection())->astLocator(); |
||
| 23 | return new ClassReflector( |
||
| 24 | new AggregateSourceLocator([ |
||
| 25 | new PhpInternalSourceLocator($astLocator), |
||
| 26 | new EvaledCodeSourceLocator($astLocator), |
||
| 27 | new StringSourceLocator($sourceCode, $astLocator), |
||
| 28 | ]) |
||
| 32 |