src/AssetConfig.php
public function set($path, $value)
    {
        $parts = explode('.', $path);
        switch (count($parts)) {
            case 2:
                $this->_data[$parts[0]][$parts[1]] = $value;
                break;
            case 1:
                $this->_data[$parts[0]] = $value;
                break;
            case 0:
                throw new RuntimeException('Path was empty.');
            default:
                throw new RuntimeException('Too many parts in path.');
        }
    }
public function set($path, $value)
    {
        $parts = explode('.', $path);
        switch (count($parts)) {
            case 2:
                $this->_data[$parts[0]][$parts[1]] = $value;
                break;
            case 1:
                $this->_data[$parts[0]] = $value;
                break;
            case 0:
                throw new RuntimeException('Path was empty.');
            default:
                throw new RuntimeException('Too many parts in path.');
        }
    }
public function set ( $ path , $ value ) { $ parts = explode ( '.' , $ path ) ; switch ( count ( $ parts ) ) { case 2 : $ this -> _data [ $ parts [ 0 ] ] [ $ parts [ 1 ] ] = $ value ; break ; case 1 : $ this -> _data [ $ parts [ 0 ] ] = $ value ; break ; case 0 : throw new RuntimeException ( 'Path was empty.' ) ; default : throw new RuntimeException ( 'Too many parts in path.' ) ; } }
Set values into the config object, You can't modify targets, or filters
with this. Use the appropriate methods for those settings.

@param string $path The path to set.
@param string $value The value to set.
@throws RuntimeException
Set values into the config object You can t modify targets or filters with this . Use the appropriate methods for those settings .