Runner
class Runner (View source)
Methods
No description
No description
No description
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
StubDataQueryInterface
getReflection(string $phpVersion)
No description
StubDataQueryInterface
getStubs()
No description
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.