public function addProvider(BlacklistProviderInterface $provider)
    {
        if ($provider === $this) {
            throw new \RuntimeException('Unable to add ChainProvider to itself.');
        }

        $this->providers[] = $provider;

        return $this;
    }
public function addProvider(BlacklistProviderInterface $provider)
    {
        if ($provider === $this) {
            throw new \RuntimeException('Unable to add ChainProvider to itself.');
        }

        $this->providers[] = $provider;

        return $this;
    }
public function addProvider ( BlacklistProviderInterface $ provider ) { if ( $ provider === $ this ) { throw new \ RuntimeException ( 'Unable to add ChainProvider to itself.' ) ; } $ this -> providers [ ] = $ provider ; return $ this ; }
Adds a new blacklist provider.

@param BlacklistProviderInterface $provider

@throws \RuntimeException

@return self
Adds a new blacklist provider .