Wsdl2PhpGenerator\Validator::isKeyword PHP Method

isKeyword() private static method

Checks if a string is a restricted keyword.
private static isKeyword ( string $string ) : boolean
$string string the string to check..
return boolean Whether the string is a restricted keyword.
    private static function isKeyword($string)
    {
        return in_array(strtolower($string), self::$keywords);
    }