public function setAssociativeArray($key, $value)
    {
        if (!$key)
        {
            throw new Exception('key may not be null.');
        }
        if (!is_array($value))
        {
            throw new Exception('Must use set() for non-array values.');
        }
        $this->_performOperation($key, new SetOperation($value, true));
    }
public function setAssociativeArray($key, $value)
    {
        if (!$key)
        {
            throw new Exception('key may not be null.');
        }
        if (!is_array($value))
        {
            throw new Exception('Must use set() for non-array values.');
        }
        $this->_performOperation($key, new SetOperation($value, true));
    }
public function setAssociativeArray ( $ key , $ value ) { if ( ! $ key ) { throw new Exception ( 'key may not be null.' ) ; } if ( ! is_array ( $ value ) ) { throw new Exception ( 'Must use set() for non-array values.' ) ; } $ this -> _performOperation ( $ key , new SetOperation ( $ value , true ) ) ; }
Set an associative array value for an object key.

@param string $key Key to set the value for on the object.
@param array $value Value to set on the key.

@return null
@throws Exception
Set an associative array value for an object key .