public function addParameterByName($paramName)
	{
		if (array_key_exists($paramName, $this->params))
		{
			throw new InvalidArgumentException("Parameter '" . $paramName . "' already exists");
		}

		$this->params[$paramName] = null;

		return $this;
	}
public function addParameterByName($paramName)
	{
		if (array_key_exists($paramName, $this->params))
		{
			throw new InvalidArgumentException("Parameter '" . $paramName . "' already exists");
		}

		$this->params[$paramName] = null;

		return $this;
	}
public function addParameterByName ( $ paramName ) { if ( array_key_exists ( $ paramName , $ this -> params ) ) { throw new InvalidArgumentException ( "Parameter '" . $ paramName . "' already exists" ) ; } $ this -> params [ $ paramName ] = null ; return $ this ; }
Add a parameter by name

The value will be dynamically generated by the caller

@param  string $paramName
@return self
Add a parameter by name