innerNode->data; } protected function __set_data(string $value): void { // PHP's DOM does this correctly already. $this->innerNode->data = $value; } protected function __get_length(): int { // PHP's DOM does this correctly already. return $this->innerNode->length; } public function appendData(string $data) { // PHP's DOM does this correctly already. return $this->innerNode->appendData($data); } public function deleteData(int $offset, int $count) { // PHP's DOM does this correctly already. return $this->innerNode->deleteData($data); } public function insertData(int $offset, string $data) { // PHP's DOM does this correctly already. return $this->innerNode->insertData($offset, $data); } public function replaceData(int $offset, int $count, string $data) { // PHP's DOM does this correctly already. return $this->innerNode->replaceData($offset, $count, $data); } public function substringData(int $offset, int $count): string { // PHP's DOM does this correctly already. return $this->innerNode->substringData($offset, $count); } }