src/PoEntry.php
public function getAsStringArray(string $type): ?array
    {
        $plurals = $this->entry[$type];
        $plurals = is_array($plurals) ? $plurals : array('', '');
        $ret = array();
        foreach ($plurals as $i => $value) {
            if (is_array($value)) {
                $value = implode('', $value);
            }
            $ret[$i] = $value;
        }
        return $ret;
    }
public function getAsStringArray(string $type): ?array
    {
        $plurals = $this->entry[$type];
        $plurals = is_array($plurals) ? $plurals : array('', '');
        $ret = array();
        foreach ($plurals as $i => $value) {
            if (is_array($value)) {
                $value = implode('', $value);
            }
            $ret[$i] = $value;
        }
        return $ret;
    }
public function getAsStringArray ( string $ type ) : ? array { $ plurals = $ this -> entry [ $ type ] ; $ plurals = is_array ( $ plurals ) ? $ plurals : array ( '' , '' ) ; $ ret = array ( ) ; foreach ( $ plurals as $ i => $ value ) { if ( is_array ( $ value ) ) { $ value = implode ( '' , $ value ) ; } $ ret [ $ i ] = $ value ; } return $ ret ; }
Get the value of a specified type as an array of strings. This is
mainly for plural TRANSLATED messages.

@param string $type PoToken constant

@return string[]|null
Get the value of a specified type as an array of strings . This is mainly for plural TRANSLATED messages .