public function checkTag(Tag $tag)
	{
		if (isset($tag->template) && !($tag->template instanceof UnsafeTemplate))
		{
			$template = (string) $tag->template;
			$this->checkTemplate($template, $tag);
		}
	}
public function checkTag(Tag $tag)
	{
		if (isset($tag->template) && !($tag->template instanceof UnsafeTemplate))
		{
			$template = (string) $tag->template;
			$this->checkTemplate($template, $tag);
		}
	}
public function checkTag ( Tag $ tag ) { if ( isset ( $ tag -> template ) && ! ( $ tag -> template instanceof UnsafeTemplate ) ) { $ template = ( string ) $ tag -> template ; $ this -> checkTemplate ( $ template , $ tag ) ; } }
Check a given tag's templates for disallowed content

@param  Tag  $tag Tag whose templates will be checked
@return void
Check a given tag s templates for disallowed content