src/Traits/HasParams.php
public function setParam($name, $value)
	{
		if (null === $this->params)
		{
			$this->params = $this->loadParams();
		}

		$this->params->set($name, $value);

		return $this;
	}
public function setParam($name, $value)
	{
		if (null === $this->params)
		{
			$this->params = $this->loadParams();
		}

		$this->params->set($name, $value);

		return $this;
	}
public function setParam ( $ name , $ value ) { if ( null === $ this -> params ) { $ this -> params = $ this -> loadParams ( ) ; } $ this -> params -> set ( $ name , $ value ) ; return $ this ; }
Set the value of a parameter.

@param   string  $name   Parameter name
@param   mixed   $value  Value to assign to selected parameter

@return  self
Set the value of a parameter .