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

Return the raw string of text
public getText ( ) : string
Результат string
Пример #1
0
 public function testGetText()
 {
     $item = new StaticItem('Item 1');
     $this->assertEquals('Item 1', $item->getText());
 }