public function addRangetoBlock($start, $end){
        return $this->db->insert($this->getBlockedRangeTable(), ['ip_start' => $start, 'ip_end' => $end]);
    }
public function addRangetoBlock($start, $end){
        return $this->db->insert($this->getBlockedRangeTable(), ['ip_start' => $start, 'ip_end' => $end]);
    }
public function addRangetoBlock ( $ start , $ end ) { return $ this -> db -> insert ( $ this -> getBlockedRangeTable ( ) , [ 'ip_start' => $ start , 'ip_end' => $ end ] ) ; }
Adds a IP range to block in the database where any IP between the start and end values should be blocked
@param string $start This should be the start of the range you wish to block e.g. 255.255.255.0
@param string $end This should be the end of the range you wish to block e.g. 255.255.255.255
@return boolean If the range is successfully added will return true else returns false
Adds a IP range to block in the database where any IP between the start and end values should be blocked