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