addTag() protected method

Pattern matches to start and end a tag.
protected addTag ( string $tag )
$tag string Name of tag to scan for.
Example #1
0
 /**
  * adding one listening tag
  * @param string $tag
  */
 function addTag($tag)
 {
     $this->lexer->addTag($tag);
 }