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

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

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

@param string|null $languageCode

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