src/Kisma/Core/Utility/Option.php
public static function addTo( &$source, $key, $subKey, $value = null )
    {
        $_target = static::clean( static::get( $source, $key, array() ) );
        static::set( $_target, $subKey, $value );
        static::set( $source, $key, $_target );

        return $_target;
    }
public static function addTo( &$source, $key, $subKey, $value = null )
    {
        $_target = static::clean( static::get( $source, $key, array() ) );
        static::set( $_target, $subKey, $value );
        static::set( $source, $key, $_target );

        return $_target;
    }
public static function addTo ( & $ source , $ key , $ subKey , $ value = null ) { $ _target = static :: clean ( static :: get ( $ source , $ key , array ( ) ) ) ; static :: set ( $ _target , $ subKey , $ value ) ; static :: set ( $ source , $ key , $ _target ) ; return $ _target ; }
Adds a value to a property array

@param array  $source
@param string $key
@param string $subKey
@param mixed  $value

@return array The new array
Adds a value to a property array