isSelfClosing() public method

Checks if the tag is self closing.
public isSelfClosing ( ) : boolean
return boolean
Example #1
0
 public function testSelfClosing()
 {
     $tag = new Tag('a');
     $tag->selfClosing();
     $this->assertTrue($tag->isSelfClosing());
 }