text() публичный Метод

Returns the text of this node.
public text ( ) : string
Результат string
Пример #1
0
 public function testText()
 {
     $node = new TextNode('foo bar');
     $this->assertEquals('foo bar', $node->text());
 }