Home
last modified time | relevance | path

Searched refs:stubFile (Results 1 – 1 of 1) sorted by relevance

/PHP-8.2/build/
H A Dgen_stub.php55 function processStubFile(string $stubFile, Context $context, bool $includeOnly = false): ?FileInfo { argument
57 if (!file_exists($stubFile)) {
58 throw new Exception("File $stubFile does not exist");
62 $stubFilenameWithoutExtension = str_replace(".stub.php", "", $stubFile);
66 $stubCode = file_get_contents($stubFile);
75 if (!$fileInfo = $context->parsedFiles[$stubFile] ?? null) {
77 $fileInfo = parseStubFile($stubCode ?? file_get_contents($stubFile));
78 $context->parsedFiles[$stubFile] = $fileInfo;
82 $prefixes = [dirname($stubFile) . "/", dirname(__DIR__) . "/"];
91 … throw new Exception("File $stubFile includes a file $dependency which does not exist");
[all …]

Completed in 15 milliseconds