Searched refs:phpParserDir (Results 1 – 1 of 1) sorted by relevance
3228 function installPhpParser(string $version, string $phpParserDir) { argument3237 if (is_dir($phpParserDir)) {3252 if (!mkdir($phpParserDir)) {3253 throw new Exception("Failed to create directory $phpParserDir");3279 $phpParserDir = __DIR__ . "/PHP-Parser-$version";3280 if (!is_dir($phpParserDir)) {3281 installPhpParser($version, $phpParserDir);3284 spl_autoload_register(function(string $class) use($phpParserDir) {3286 $fileName = $phpParserDir . "/lib/" . str_replace("\\", "/", $class) . ".php";
Completed in 18 milliseconds