src/ExchangeRateProvider/ProviderChain.php
public function removeExchangeRateProvider(ExchangeRateProvider $provider) : self
    {
        $hash = spl_object_hash($provider);
        unset($this->providers[$hash]);

        return $this;
    }
public function removeExchangeRateProvider(ExchangeRateProvider $provider) : self
    {
        $hash = spl_object_hash($provider);
        unset($this->providers[$hash]);

        return $this;
    }
public function removeExchangeRateProvider ( ExchangeRateProvider $ provider ) : self { $ hash = spl_object_hash ( $ provider ) ; unset ( $ this -> providers [ $ hash ] ) ; return $ this ; }
Removes an exchange rate provider from the chain.

If the provider is not registered, this method does nothing.

@param ExchangeRateProvider $provider The exchange rate provider to remove.

@return ProviderChain This instance, for chaining.
Removes an exchange rate provider from the chain .