getText() public method

Return the raw string of text
public getText ( ) : string
return string
Example #1
0
 public function testGetText()
 {
     $item = new SelectableItem('Item', function () {
     });
     $this->assertEquals('Item', $item->getText());
 }