Punic\Territory::getLiteracyLevel PHP Метод

getLiteracyLevel() публичный статический Метод

Return the literacy level for a specific territory, in %.
public static getLiteracyLevel ( string $territoryCode ) : number | null
$territoryCode string The territory code
Результат number | null Return the % of literacy lever of the specified territory (or null if $territoryCode is not valid or no data is available)
    public static function getLiteracyLevel($territoryCode)
    {
        $result = null;
        $info = self::getTerritoryInfo($territoryCode);
        if (is_array($info)) {
            $result = $info['literacy'];
        }
        return $result;
    }