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

@param  string  $host

@return self
Add a host to a whitelist collection .