Searched refs:phpParserDir (Results 1 – 1 of 1) sorted by relevance
1754 function installPhpParser(string $version, string $phpParserDir) { argument1763 if (is_dir($phpParserDir)) {1778 if (!mkdir($phpParserDir)) {1779 throw new Exception("Failed to create directory $phpParserDir");1805 $phpParserDir = __DIR__ . "/PHP-Parser-$version";1806 if (!is_dir($phpParserDir)) {1807 installPhpParser($version, $phpParserDir);1810 spl_autoload_register(function(string $class) use($phpParserDir) {1812 $fileName = $phpParserDir . "/lib/" . str_replace("\\", "/", $class) . ".php";
Completed in 7 milliseconds