src/Controller/DefaultController.php
protected static function getBaseUrl(): string
    {
        if (!empty(static::CONFIG_BASE_URL)) {
            return static::CONFIG_BASE_URL;
        }

        $aBits   = explode('\\', get_called_class());
        $sModule = strtolower($aBits[count($aBits) - 2]);
        $sClass  = lcfirst($aBits[count($aBits) - 1]);
        return 'admin/' . $sModule . '/' . $sClass;
    }
protected static function getBaseUrl(): string
    {
        if (!empty(static::CONFIG_BASE_URL)) {
            return static::CONFIG_BASE_URL;
        }

        $aBits   = explode('\\', get_called_class());
        $sModule = strtolower($aBits[count($aBits) - 2]);
        $sClass  = lcfirst($aBits[count($aBits) - 1]);
        return 'admin/' . $sModule . '/' . $sClass;
    }
Returns the base URL

@return string