Cml\Service\Route::getAppName PHP Method

getAppName() public method

获取应用目录可以是多层目录。如web、admin等.404的时候也必须有值用于绑定系统命令
public getAppName ( ) : string
return string
    public function getAppName()
    {
        return trim(self::$urlParams['path'], '\\/');
    }