protected function getBaseNamespace()
    {
        if ($this->packageInfo->get('type') == 'module') {
            return $this->packages->getModulesNamespace();
        }

        return $this->packages->getPackagesNamespace();
    }