Registers a handler for tags. The class specified is autoloaded if it's
not available. It must inherit from this class.
final public static registerTagHandler ( string $tag, string | null $handler ) : boolean | ||
$tag | string | Name of tag to regiser a handler for. When registering a namespaced tag, the full name, along with a prefixing slash MUST be provided. |
$handler | string | null | FQCN of handler. Specifing NULL removes the handler for the specified tag, if any. |
Результат | boolean | TRUE on success, FALSE on failure. |