(PHP 5, PHP 7, PHP 8)
DOMText クラスは DOMCharacterData を継承しており、 DOMElement あるいは DOMAttr の中身のテキストを表します。
$data
$offset
...$nodes
$count
$node
$exclusive
false
$withComments
$xpath
null
$nsPrefixes
$uri
$deep
$other
$options
$child
$namespace
$otherNode
$feature
$version
$prefix
論理的に隣接した (要素やコメント、処理命令などで分割されていない) テキストノードの全テキストを保持します。