concrete/src/Config/DatabaseLoader.php
public function getNamespaces()
    {
        $db = Database::getActiveConnection();

        /** @var PDOStatement $results */
        $results = $db->createQueryBuilder()
            ->select('configNamespace')
            ->from('Config', 'c')
            ->where('configNamespace != ""')
            ->groupBy('configNamespace')
            ->execute();

        return array_map('array_shift', $results->fetchAll());
    }
public function getNamespaces()
    {
        $db = Database::getActiveConnection();

        /** @var PDOStatement $results */
        $results = $db->createQueryBuilder()
            ->select('configNamespace')
            ->from('Config', 'c')
            ->where('configNamespace != ""')
            ->groupBy('configNamespace')
            ->execute();

        return array_map('array_shift', $results->fetchAll());
    }
public function getNamespaces ( ) { $ db = Database :: getActiveConnection ( ) ; /** @var PDOStatement $results */ $ results = $ db -> createQueryBuilder ( ) -> select ( 'configNamespace' ) -> from ( 'Config' , 'c' ) -> where ( 'configNamespace != ""' ) -> groupBy ( 'configNamespace' ) -> execute ( ) ; return array_map ( 'array_shift' , $ results -> fetchAll ( ) ) ; }
Returns all registered namespaces with the config
loader.

@return array
Returns all registered namespaces with the config loader .