public function getNativeOfficialName($languageCode = null): ?string
    {
        $languageCode = $languageCode ? mb_strtolower($languageCode) : null;

        return $this->get("name.native.{$languageCode}.official")
            ?: (current($this->get('name.native', []))['official'] ?: $this->get('native_official_name'));
    }
public function getNativeOfficialName($languageCode = null): ?string
    {
        $languageCode = $languageCode ? mb_strtolower($languageCode) : null;

        return $this->get("name.native.{$languageCode}.official")
            ?: (current($this->get('name.native', []))['official'] ?: $this->get('native_official_name'));
    }
public function getNativeOfficialName ( $ languageCode = null ) : ? string { $ languageCode = $ languageCode ? mb_strtolower ( $ languageCode ) : null ; return $ this -> get ( "name.native.{$languageCode}.official" ) ? : ( current ( $ this -> get ( 'name.native' , [ ] ) ) [ 'official' ] ? : $ this -> get ( 'native_official_name' ) ) ; }
Get the given native official name or fallback to first native official name.

@param string|null $languageCode

@return string|null
Get the given native official name or fallback to first native official name .