private function config()
    {
        if (realpath($this->configPath) !== false) {
            $json = file_get_contents($this->configPath);
            $this->config = json_decode($json);
            $this->config->rootDir = $this->rootDir;
        } else {
            throw new \RuntimeException('Framework not initialized yet. Consider running composer install');
        }
    }
private function config()
    {
        if (realpath($this->configPath) !== false) {
            $json = file_get_contents($this->configPath);
            $this->config = json_decode($json);
            $this->config->rootDir = $this->rootDir;
        } else {
            throw new \RuntimeException('Framework not initialized yet. Consider running composer install');
        }
    }
private function config ( ) { if ( realpath ( $ this -> configPath ) !== false ) { $ json = file_get_contents ( $ this -> configPath ) ; $ this -> config = json_decode ( $ json ) ; $ this -> config -> rootDir = $ this -> rootDir ; } else { throw new \ RuntimeException ( 'Framework not initialized yet. Consider running composer install' ) ; } }
Initialize the config

@throws \Exception
Initialize the config