public function remove(MailConfigProvider $provider)
    {
        $this->providers = array_filter($this->providers, function ($known) use ($provider) {
            return spl_object_hash($known) != spl_object_hash($provider);
        });

        return $this;
    }
public function remove(MailConfigProvider $provider)
    {
        $this->providers = array_filter($this->providers, function ($known) use ($provider) {
            return spl_object_hash($known) != spl_object_hash($provider);
        });

        return $this;
    }
public function remove ( MailConfigProvider $ provider ) { $ this -> providers = array_filter ( $ this -> providers , function ( $ known ) use ( $ provider ) { return spl_object_hash ( $ known ) != spl_object_hash ( $ provider ) ; } ) ; return $ this ; }
Remove a provider.

@param \Ems\Contracts\Mail\MailConfigProvider

@return self
Remove a provider .