vue: join

This commit is contained in:
2021-09-12 22:20:33 +09:00
parent 720fe3a6ef
commit 12b529685e
25 changed files with 781 additions and 142 deletions
+2 -2
View File
@@ -369,7 +369,7 @@ function getAPIExecutorClass($path){
throw new \InvalidArgumentException("{$path}는 올바른 API 지시자가 아님");
}
$classPath = ($basePath.$path);
$classPath = str_replace('/', '\\', $basePath.$path);
if(class_exists($classPath)){
return $classPath;
@@ -377,7 +377,7 @@ function getAPIExecutorClass($path){
throw new \InvalidArgumentException("{$path}는 올바른 API 경로가 아님");
}
function buildAPIExecutorClass(string $type, string $rootPath, array $args):\sammo\BaseAPI{
function buildAPIExecutorClass($type, string $rootPath, array $args):\sammo\BaseAPI{
$class = getAPIExecutorClass($type);
return new $class($rootPath, $args);
}