src/AssetConfig.php
public function get($path)
    {
        $parts = explode('.', $path);
        switch (count($parts)) {
            case 2:
                if (isset($this->_data[$parts[0]][$parts[1]])) {
                    return $this->_data[$parts[0]][$parts[1]];
                }
                break;
            case 1:
                if (isset($this->_data[$parts[0]])) {
                    return $this->_data[$parts[0]];
                }
                break;
            case 0:
                throw new RuntimeException('Path was empty.');
            default:
                throw new RuntimeException('Too many parts in path.');
        }
    }
public function get($path)
    {
        $parts = explode('.', $path);
        switch (count($parts)) {
            case 2:
                if (isset($this->_data[$parts[0]][$parts[1]])) {
                    return $this->_data[$parts[0]][$parts[1]];
                }
                break;
            case 1:
                if (isset($this->_data[$parts[0]])) {
                    return $this->_data[$parts[0]];
                }
                break;
            case 0:
                throw new RuntimeException('Path was empty.');
            default:
                throw new RuntimeException('Too many parts in path.');
        }
    }
public function get ( $ path ) { $ parts = explode ( '.' , $ path ) ; switch ( count ( $ parts ) ) { case 2 : if ( isset ( $ this -> _data [ $ parts [ 0 ] ] [ $ parts [ 1 ] ] ) ) { return $ this -> _data [ $ parts [ 0 ] ] [ $ parts [ 1 ] ] ; } break ; case 1 : if ( isset ( $ this -> _data [ $ parts [ 0 ] ] ) ) { return $ this -> _data [ $ parts [ 0 ] ] ; } break ; case 0 : throw new RuntimeException ( 'Path was empty.' ) ; default : throw new RuntimeException ( 'Too many parts in path.' ) ; } }
Get values from the config data.

@param string $path The path you want.
@throws RuntimeException On invalid paths.
Get values from the config data .