public function removeProvider(Provider $provider)
    {
        $index = array_search($provider, $this->providers);

        if ($index !== false) {
            unset($this->providers[$index]);
        }

        return $this;
    }
public function removeProvider(Provider $provider)
    {
        $index = array_search($provider, $this->providers);

        if ($index !== false) {
            unset($this->providers[$index]);
        }

        return $this;
    }
public function removeProvider ( Provider $ provider ) { $ index = array_search ( $ provider , $ this -> providers ) ; if ( $ index !== false ) { unset ( $ this -> providers [ $ index ] ) ; } return $ this ; }
Removes the given provider from the registered providers array.

@param Provider $provider the provider to remove.

@return OEmbed
Removes the given provider from the registered providers array .