public function getGeoJson(): ?string
    {
        if (! ($code = $this->getIsoAlpha2())) {
            return null;
        }

        return file_exists($file = __DIR__.'/../resources/geodata/'.mb_strtolower($code).'.json') ? file_get_contents($file) : null;
    }
public function getGeoJson(): ?string
    {
        if (! ($code = $this->getIsoAlpha2())) {
            return null;
        }

        return file_exists($file = __DIR__.'/../resources/geodata/'.mb_strtolower($code).'.json') ? file_get_contents($file) : null;
    }
public function getGeoJson ( ) : ? string { if ( ! ( $ code = $ this -> getIsoAlpha2 ( ) ) ) { return null ; } return file_exists ( $ file = __DIR__ . '/../resources/geodata/' . mb_strtolower ( $ code ) . '.json' ) ? file_get_contents ( $ file ) : null ; }
Get the geographic data structure.

@return string|null
Get the geographic data structure .