Classes/Cundd/Noshi/ConfigurationManager.php
static public function initializeConfiguration($basePath)
    {
        // Read the configurations file
        $configuration = [];
        $configurationFile = $basePath . 'Configurations/Configuration.json';
        if (file_exists($configurationFile) && is_readable($configurationFile)) {
            $configuration = json_decode(file_get_contents($configurationFile), true);
        }

        self::$sharedConfiguration = new Configuration($configuration);
        self::$sharedConfiguration->set('basePath', $basePath);

        return self::$sharedConfiguration;
    }
static public function initializeConfiguration($basePath)
    {
        // Read the configurations file
        $configuration = [];
        $configurationFile = $basePath . 'Configurations/Configuration.json';
        if (file_exists($configurationFile) && is_readable($configurationFile)) {
            $configuration = json_decode(file_get_contents($configurationFile), true);
        }

        self::$sharedConfiguration = new Configuration($configuration);
        self::$sharedConfiguration->set('basePath', $basePath);

        return self::$sharedConfiguration;
    }
Initializes the shared configuration

@param string $basePath
@return Configuration