__toString() public méthode

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