Я хочу получить значение [underline: PhpOffice \ PhpWord \ Style \ Font: private] из вывода PHP_WORD, я не знаю как, пожалуйста, покажите мне, как это сделать. Поблагодарить. (извините за мой английский)
[0] => PhpOffice\PhpWord\Element\Text Object
(
[text:protected] => C
[fontStyle:protected] => PhpOffice\PhpWord\Style\Font Object
(
[aliases:protected] => Array
(
[line-height] => lineHeight
[letter-spacing] => spacing
)
[type:PhpOffice\PhpWord\Style\Font:private] => text
[name:PhpOffice\PhpWord\Style\Font:private] => Tahoma
[hint:PhpOffice\PhpWord\Style\Font:private] =>
[size:PhpOffice\PhpWord\Style\Font:private] => 12
[color:PhpOffice\PhpWord\Style\Font:private] =>
[bold:PhpOffice\PhpWord\Style\Font:private] =>
[italic:PhpOffice\PhpWord\Style\Font:private] =>
[underline:PhpOffice\PhpWord\Style\Font:private] => single
[superScript:PhpOffice\PhpWord\Style\Font:private] =>
[subScript:PhpOffice\PhpWord\Style\Font:private] =>
[strikethrough:PhpOffice\PhpWord\Style\Font:private] =>
[doubleStrikethrough:PhpOffice\PhpWord\Style\Font:private] =>
[smallCaps:PhpOffice\PhpWord\Style\Font:private] =>
[allCaps:PhpOffice\PhpWord\Style\Font:private] =>
[fgColor:PhpOffice\PhpWord\Style\Font:private] =>
[scale:PhpOffice\PhpWord\Style\Font:private] =>
[spacing:PhpOffice\PhpWord\Style\Font:private] =>
[kerning:PhpOffice\PhpWord\Style\Font:private] =>
[paragraph:PhpOffice\PhpWord\Style\Font:private] => PhpOffice\PhpWord\Style\Paragraph Object
Полные данные здесь: https://pastebin.com/raw/prfejCAup