__toString() public method

Convert the element to its string representation.
public __toString ( ) : string
return string
Beispiel #1
0
 public function testToString()
 {
     $element = new Element('span', 'hello');
     $this->assertEquals($element->html(), $element->__toString());
 }