public function setValue($name, $value) {
		if (substr($name, -1) === '_') {
			throw new InvalidArgumentException('$name cannot end with "_"');
		}
		$this->remove($name);
		$this->{$name} = $value;
		return $this;
	}
public function setValue($name, $value) {
		if (substr($name, -1) === '_') {
			throw new InvalidArgumentException('$name cannot end with "_"');
		}
		$this->remove($name);
		$this->{$name} = $value;
		return $this;
	}
public function setValue ( $ name , $ value ) { if ( substr ( $ name , - 1 ) === '_' ) { throw new InvalidArgumentException ( '$name cannot end with "_"' ) ; } $ this -> remove ( $ name ) ; $ this -> { $ name } = $ value ; return $ this ; }
Set a value to be returned without modification

@param string $name  The name of the value
@param mixed  $value The value
@return \Elgg\Di\DiContainer
@throws InvalidArgumentException
Set a value to be returned without modification