class RunnerReflectionProvider implements ReflectionProviderInterface (View source)

Default implementation of ReflectionProviderInterface that uses Runner.

This wraps RunnerScope::get()->getReflection() to allow dependency injection in validator checks while maintaining the existing production behavior.

Methods

getReflection(string $phpVersion)

Get reflection data for a specific PHP version using Runner.

Details

StubDataQueryInterface getReflection(string $phpVersion)

Get reflection data for a specific PHP version using Runner.

Parameters

string $phpVersion

The PHP version (e.g., '8.0', '8.1')

Return Value

StubDataQueryInterface

The reflection data storage