public function getScore()
    {
        $ipLkup = $this->get('ipLkup', ['ip' => $this->ip]);

        $score = $ipLkup['response'][$this->ip];

        if ($score) {
            return (string) $score;
        } else {
            return 'unknown';
        }
    }
public function getScore()
    {
        $ipLkup = $this->get('ipLkup', ['ip' => $this->ip]);

        $score = $ipLkup['response'][$this->ip];

        if ($score) {
            return (string) $score;
        } else {
            return 'unknown';
        }
    }
public function getScore ( ) { $ ipLkup = $ this -> get ( 'ipLkup' , [ 'ip' => $ this -> ip ] ) ; $ score = $ ipLkup [ 'response' ] [ $ this -> ip ] ; if ( $ score ) { return ( string ) $ score ; } else { return 'unknown' ; } }
Get the threat score.

@return string
Get the threat score .