public function setConfig($reference, $value)
    {
        if (!array_key_exists($reference, $this->config)) {
            user_error("Unknown option reference: $reference", E_USER_ERROR);
        }

        $this->config[$reference] = $value;

        return $this;
    }
public function setConfig($reference, $value)
    {
        if (!array_key_exists($reference, $this->config)) {
            user_error("Unknown option reference: $reference", E_USER_ERROR);
        }

        $this->config[$reference] = $value;

        return $this;
    }
public function setConfig ( $ reference , $ value ) { if ( ! array_key_exists ( $ reference , $ this -> config ) ) { user_error ( "Unknown option reference: $reference" , E_USER_ERROR ) ; } $ this -> config [ $ reference ] = $ value ; return $ this ; }
Set a component configuration parameter.

@param string $reference
@param mixed  $value
Set a component configuration parameter .