public function getComponentRoot(string $name): ?string
    {
        $rootMap = $this->getConfig('componentsRootMap');
        return isset($rootMap[$name]) ? $this->getAppRoot().$rootMap[$name] : null;
    }