DOMProcessingInstruction::__construct
DOMText::__construct
DOM
PHP Manual

# The DOMText class

## Class synopsis

DOMText
class DOMText extends DOMCharacterData {
/* Properties */
readonly public string $wholeText ;
/* Methods */
__construct ([ string `$value` ] )
bool isWhitespaceInElementContent ( void )
DOMText splitText ( int `$offset` )
/* Inherited methods */
void DOMCharacterData::appendData ( string `$data` )
void DOMCharacterData::deleteData ( int `$offset` , int `$count` )
void DOMCharacterData::insertData ( int `$offset` , string `$data` )
void DOMCharacterData::replaceData ( int `$offset` , int `$count` , string `$data` )
string DOMCharacterData::substringData ( int `$offset` , int `$count` )
}

## Properties

wholeText

  Prop description

## Table of Contents

- DOMText::__construct — Creates a new DOMText object
- DOMText::isWhitespaceInElementContent — Indicates whether this text node contains whitespace
- DOMText::splitText — Breaks this node into two nodes at the specified offset

DOMProcessingInstruction::__construct
DOMText::__construct
DOM
PHP Manual