public function get($name)
    {
        $value = NestedArrayUtil::getNestedArrayValue(self::$config, explode('.', $name), $exists);
        if (!$exists) {
            throw new \RuntimeException('Configuration not defined: ' . $name);
        }

        return $value;
    }
public function get($name)
    {
        $value = NestedArrayUtil::getNestedArrayValue(self::$config, explode('.', $name), $exists);
        if (!$exists) {
            throw new \RuntimeException('Configuration not defined: ' . $name);
        }

        return $value;
    }
public function get ( $ name ) { $ value = NestedArrayUtil :: getNestedArrayValue ( self :: $ config , explode ( '.' , $ name ) , $ exists ) ; if ( ! $ exists ) { throw new \ RuntimeException ( 'Configuration not defined: ' . $ name ) ; } return $ value ; }
Get a configuration value.

@param string $name The configuration name (e.g. 'application.name').

@throws \RuntimeException if the configuration is not defined.

@return null|string|bool|array
Get a configuration value .