The Dom\Text class
(PHP 8 >= 8.4.0)
Introduction
The Dom\Text class inherits from Dom\CharacterData and represents a text node.
This is the modern, spec-compliant equivalent of DOMText.
Class synopsis
/* Inherited constants */
/* Properties */
/* Inherited properties */
/* Methods */
/* Inherited methods */
/* Not documented yet */
}Properties
- wholeText
Holds all the text of logically-adjacent (not separated by Element, Comment or Processing Instruction) Text nodes.
Table of Contents
- Dom\Text::splitText — Breaks this node into two nodes at the specified offset
↑ and ↓ to navigate • Enter to select • Esc to close • / to open