class Runner (View source)

Methods

__construct(string|null $cacheDir = null, ClassHierarchyResolver|null $hierarchyResolver = null, InheritDocVersionResolver|null $inheritDocResolver = null)

No description

getReflection(string $phpVersion)

No description

getStubs()

No description

bool
isStubsCacheComplete()

Whether every stub cache artifact required by the read-from-cache path is present.

Details

__construct(string|null $cacheDir = null, ClassHierarchyResolver|null $hierarchyResolver = null, InheritDocVersionResolver|null $inheritDocResolver = null)

No description

Parameters

string|null $cacheDir
ClassHierarchyResolver|null $hierarchyResolver
InheritDocVersionResolver|null $inheritDocResolver

StubDataQueryInterface getReflection(string $phpVersion)

No description

Parameters

string $phpVersion

Return Value

StubDataQueryInterface

StubDataQueryInterface getStubs()

No description

Return Value

StubDataQueryInterface

bool isStubsCacheComplete()

Whether every stub cache artifact required by the read-from-cache path is present.

MultiFileJsonStorage reads the five per-type files (StubsClasses/Functions/Interfaces/ Enums/Constants.json) — the "Stubs.json" base path is only used to derive those names and is never read itself — and PhpDocStorage reads StubsPhpDoc.json. A partial cache (e.g. the per-type files present but StubsPhpDoc.json missing) must fall through to regeneration; otherwise the entities would load with all PhpDoc metadata (sinceVersion, removedVersion, typeFromPhpDoc, …) silently dropped, yielding wrong validation results.

Return Value

bool