src/Carbon/Language.php
public function getIsoName(): string
    {
        $name = $this->getFullIsoName();

        return trim(strstr($name, ',', true) ?: $name);
    }
public function getIsoName(): string
    {
        $name = $this->getFullIsoName();

        return trim(strstr($name, ',', true) ?: $name);
    }
public function getIsoName ( ) : string { $ name = $ this -> getFullIsoName ( ) ; return trim ( strstr ( $ name , ',' , true ) ? : $ name ) ; }
Returns the short ISO language name.

@return string
Returns the short ISO language name .