public function add(string $name, $value = null): ConfigInterface
    {
        $name = mb_strtolower($name);

        // Check if key is certificate or push, or classic parameter
        if (\in_array($name, self::CERTS, true)) {
            $this->addCert($name, $value);
        } elseif ($name === 'push') {
            $this->addPush($value);
        } else {
            $this->_params[$name] = $this->isBool($value);
        }

        return $this;
    }
public function add(string $name, $value = null): ConfigInterface
    {
        $name = mb_strtolower($name);

        // Check if key is certificate or push, or classic parameter
        if (\in_array($name, self::CERTS, true)) {
            $this->addCert($name, $value);
        } elseif ($name === 'push') {
            $this->addPush($value);
        } else {
            $this->_params[$name] = $this->isBool($value);
        }

        return $this;
    }
public function add ( string $ name , $ value = null ) : ConfigInterface { $ name = mb_strtolower ( $ name ) ; // Check if key is certificate or push, or classic parameter if ( \ in_array ( $ name , self :: CERTS , true ) ) { $ this -> addCert ( $ name , $ value ) ; } elseif ( $ name === 'push' ) { $ this -> addPush ( $ value ) ; } else { $ this -> _params [ $ name ] = $ this -> isBool ( $ value ) ; } return $ this ; }
Add some new parameter to the list of parameters

@example $this->add('client')->add('remote', 'vpn.example.com');
@param   string $name Name of parameter
@param   string|bool|null $value Value of parameter
@return  ConfigInterface
Add some new parameter to the list of parameters