src/Entities/SpammerCollection.php
public function blockOne($host)
    {
        return $this->exists($host)
            ? $this->updateOne($host)
            : $this->addOne($host);
    }
public function blockOne($host)
    {
        return $this->exists($host)
            ? $this->updateOne($host)
            : $this->addOne($host);
    }
public function blockOne ( $ host ) { return $ this -> exists ( $ host ) ? $ this -> updateOne ( $ host ) : $ this -> addOne ( $ host ) ; }
Add a host to a blacklist collection.

@param  string  $host

@return self
Add a host to a blacklist collection .