protected function getTagInspectors(TagCollection $tags)
	{
		$tagInspectors = [];
		foreach ($tags as $tagName => $tag)
		{
			// Use the tag's template if applicable or XSLT's implicit default otherwise
			$template = (isset($tag->template)) ? $tag->template : '<xsl:apply-templates/>';
			$tagInspectors[$tagName] = new TemplateInspector($template);
		}

		return $tagInspectors;
	}
protected function getTagInspectors(TagCollection $tags)
	{
		$tagInspectors = [];
		foreach ($tags as $tagName => $tag)
		{
			// Use the tag's template if applicable or XSLT's implicit default otherwise
			$template = (isset($tag->template)) ? $tag->template : '<xsl:apply-templates/>';
			$tagInspectors[$tagName] = new TemplateInspector($template);
		}

		return $tagInspectors;
	}
protected function getTagInspectors ( TagCollection $ tags ) { $ tagInspectors = [ ] ; foreach ( $ tags as $ tagName => $ tag ) { // Use the tag's template if applicable or XSLT's implicit default otherwise $ template = ( isset ( $ tag -> template ) ) ? $ tag -> template : '<xsl:apply-templates/>' ; $ tagInspectors [ $ tagName ] = new TemplateInspector ( $ template ) ; } return $ tagInspectors ; }
Inspect given list of tags

@param  TagCollection $tags Tags collection
@return array               Array of [tagName => TemplateInspector]
Inspect given list of tags