lib/eMapper/Fluent/Query/FluentUpdate.php
public function setValue($value) {
		if ($value instanceof \ArrayObject)
			$this->value = $value->getArrayCopy();
		elseif (is_object($value))
			$this->value = get_object_vars($value);
		elseif (is_array($value))
			$this->value = $value;
		else
			throw new \InvalidArgumentException("Method 'setValue' expected an object or array value");
		
		return $this;
	}
public function setValue($value) {
		if ($value instanceof \ArrayObject)
			$this->value = $value->getArrayCopy();
		elseif (is_object($value))
			$this->value = get_object_vars($value);
		elseif (is_array($value))
			$this->value = $value;
		else
			throw new \InvalidArgumentException("Method 'setValue' expected an object or array value");
		
		return $this;
	}
public function setValue ( $ value ) { if ( $ value instanceof \ ArrayObject ) $ this -> value = $ value -> getArrayCopy ( ) ; elseif ( is_object ( $ value ) ) $ this -> value = get_object_vars ( $ value ) ; elseif ( is_array ( $ value ) ) $ this -> value = $ value ; else throw new \ InvalidArgumentException ( "Method 'setValue' expected an object or array value" ) ; return $ this ; }
Sets the value to update as an array|object
@param array|object $value
@throws \InvalidArgumentException
@return \eMapper\SQL\Fluent\FluentUpdate
Sets the value to update as an array|object