public function remove($key, $value)
    {
        if (!$key)
        {
            throw new Exception('key may not be null.');
        }
        if (!is_array($value))
        {
            $value = [$value];
        }
        $this->_performOperation($key, new RemoveOperation($value));
    }
public function remove($key, $value)
    {
        if (!$key)
        {
            throw new Exception('key may not be null.');
        }
        if (!is_array($value))
        {
            $value = [$value];
        }
        $this->_performOperation($key, new RemoveOperation($value));
    }
public function remove ( $ key , $ value ) { if ( ! $ key ) { throw new Exception ( 'key may not be null.' ) ; } if ( ! is_array ( $ value ) ) { $ value = [ $ value ] ; } $ this -> _performOperation ( $ key , new RemoveOperation ( $ value ) ) ; }
Remove a value from an array for an object key.

@param string $key Key to remove the value from on the object.
@param mixed $value Value to remove from the array.

@return null
@throws Exception
Remove a value from an array for an object key .