public static function create($tagName, $content = '') {
		if (isset(self::$tagClassMap[$tagName])) {
			$class = self::$tagClassMap[$tagName];
			return new $class($content);
		} else {
			return new UnknownTag($tagName, $content);
		}
	}
public static function create($tagName, $content = '') {
		if (isset(self::$tagClassMap[$tagName])) {
			$class = self::$tagClassMap[$tagName];
			return new $class($content);
		} else {
			return new UnknownTag($tagName, $content);
		}
	}
public static function create ( $ tagName , $ content = '' ) { if ( isset ( self :: $ tagClassMap [ $ tagName ] ) ) { $ class = self :: $ tagClassMap [ $ tagName ] ; return new $ class ( $ content ) ; } else { return new UnknownTag ( $ tagName , $ content ) ; } }
Creates a new tag instance on the given name

@param string $tagName
@param string $content
@return AbstractTag
Creates a new tag instance on the given name