mediatekformation

TagManager extends PrototypeClassFactory
in package

This class is used in DocBlockGenerator and creates the needed Tag classes depending on the tag. So for example an @author tag will trigger the creation of an AuthorTag class.

If none of the classes is applicable, the GenericTag class will be created

Table of Contents

$genericPrototype  : PrototypeGenericInterface
$prototypes  : array<string|int, mixed>
__construct()  : mixed
addPrototype()  : mixed
createTagFromReflection()  : TagInterface
getClonedPrototype()  : PrototypeInterface
hasPrototype()  : bool
initializeDefaultTags()  : void
setGenericPrototype()  : mixed
normalizeName()  : string

Properties

Methods

hasPrototype()

public hasPrototype(string $name) : bool
Parameters
$name : string
Return values
bool

initializeDefaultTags()

public initializeDefaultTags() : void
Return values
void

normalizeName()

protected normalizeName(string $name) : string
Parameters
$name : string
Return values
string

Search results