public function remove($name) {
		if (substr($name, -1) === '_') {
			throw new InvalidArgumentException('$name cannot end with "_"');
		}
		unset($this->{$name});
		unset($this->factories_[$name]);
		return $this;
	}
public function remove($name) {
		if (substr($name, -1) === '_') {
			throw new InvalidArgumentException('$name cannot end with "_"');
		}
		unset($this->{$name});
		unset($this->factories_[$name]);
		return $this;
	}
public function remove ( $ name ) { if ( substr ( $ name , - 1 ) === '_' ) { throw new InvalidArgumentException ( '$name cannot end with "_"' ) ; } unset ( $ this -> { $ name } ) ; unset ( $ this -> factories_ [ $ name ] ) ; return $ this ; }
Remove a value from the container

@param string $name The name of the value
@return \Elgg\Di\DiContainer
Remove a value from the container