public function getConfigValueFromPath($path)
    {
        /** @var Configuration $node */
        $node = $this->configuration;

        foreach (explode('/', $path) as $nodeName) {
            if (!is_object($node)) {
                return null;
            }

            $node = $node->{'get' . ucfirst($nodeName)}();
        }

        return $node;
    }
public function getConfigValueFromPath($path)
    {
        /** @var Configuration $node */
        $node = $this->configuration;

        foreach (explode('/', $path) as $nodeName) {
            if (!is_object($node)) {
                return null;
            }

            $node = $node->{'get' . ucfirst($nodeName)}();
        }

        return $node;
    }
public function getConfigValueFromPath ( $ path ) { /** @var Configuration $node */ $ node = $ this -> configuration ; foreach ( explode ( '/' , $ path ) as $ nodeName ) { if ( ! is_object ( $ node ) ) { return null ; } $ node = $ node -> { 'get' . ucfirst ( $ nodeName ) } ( ) ; } return $ node ; }
Returns a value by traversing the configuration tree as if it was a file
path.

@param string $path Path to the config value separated by '/'.

@return string|integer|boolean
Returns a value by traversing the configuration tree as if it was a file path .