Home
last modified time | relevance | path

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

/php-src/build/
H A Dgen_stub.php66 function processStubFile(string $stubFile, Context $context, bool $includeOnly = false): ?FileInfo { argument
68 if (!file_exists($stubFile)) {
69 throw new Exception("File $stubFile does not exist");
73 $stubFilenameWithoutExtension = str_replace(".stub.php", "", $stubFile);
77 $stubCode = file_get_contents($stubFile);
86 if (!$fileInfo = $context->parsedFiles[$stubFile] ?? null) {
88 $stubContent = $stubCode ?? file_get_contents($stubFile);
90 $context->parsedFiles[$stubFile] = $fileInfo;
94 $prefixes = [dirname($stubFile) . "/", dirname(__DIR__) . "/"];
103 … throw new Exception("File $stubFile includes a file $dependency which does not exist");
[all …]

Completed in 18 milliseconds