public function del(string $name): ConfigInterface
    {
        // Check if key is certificate or push, or classic parameter
        if (\in_array($name, self::CERTS, true)) {
            $this->delCert($name);
        } elseif ($name === 'push') {
            throw new \RuntimeException("Not possible to remove push, use 'delPush' instead");
        } else {
            $this->_params = array_map(
                function($param) use ($name) {
                    return ($param['name'] === $name) ? null : $param;
                },
                $this->_params
            );
        }

        return $this;
    }
public function del(string $name): ConfigInterface
    {
        // Check if key is certificate or push, or classic parameter
        if (\in_array($name, self::CERTS, true)) {
            $this->delCert($name);
        } elseif ($name === 'push') {
            throw new \RuntimeException("Not possible to remove push, use 'delPush' instead");
        } else {
            $this->_params = array_map(
                function($param) use ($name) {
                    return ($param['name'] === $name) ? null : $param;
                },
                $this->_params
            );
        }

        return $this;
    }
public function del ( string $ name ) : ConfigInterface { // Check if key is certificate or push, or classic parameter if ( \ in_array ( $ name , self :: CERTS , true ) ) { $ this -> delCert ( $ name ) ; } elseif ( $ name === 'push' ) { throw new \ RuntimeException ( "Not possible to remove push, use 'delPush' instead" ) ; } else { $ this -> _params = array_map ( function ( $ param ) use ( $ name ) { return ( $ param [ 'name' ] === $ name ) ? null : $ param ; } , $ this -> _params ) ; } return $ this ; }
Remove some parameter from array by name

@param   string $name Name of parameter
@throws  \RuntimeException
@return  ConfigInterface
Remove some parameter from array by name