Generic Definition which adds the basic tag information to the structure file.
| category | phpDocumentor |
|---|---|
| package | Parser |
| subpackage | Tag_Definitions |
| author | Mike van Riel |
| license | MIT |
| link | http://phpdoc.org |
__construct(string $namespace, string[] $namespace_aliases, \DOMElement $xml, \phpDocumentor\Reflection\DocBlock\Tag $tag)
stringNamespace where this tag occurs.
string[]Aliases used for all namespaces at the location of this tag.
\phpDocumentor\Reflection\DocBlock\TagTag object to use.
create(string $namespace, string[] $namespace_aliases, \DOMElement $xml, \phpDocumentor\Reflection\DocBlock\Tag $tag) : \phpDocumentor\Plugin\Core\Parser\DocBlock\Tag\Definition\Definition
| todo | replace the switch statement with an intelligent container / plugin system. |
|---|
stringNamespace where this tag occurs.
string[]Aliases used for all namespaces at the location of this tag.
\phpDocumentor\Reflection\DocBlock\TagThe actual tag as reflected.
debug(string $message) : void
| inherited_from | \phpDocumentor\Parser\ParserAbstract::debug() |
|---|
stringThe message to log.
getNamespace() : string
stringgetNamespaceAliases() : array
arraylog(string $message, int $priority) : void
| inherited_from | \phpDocumentor\Parser\ParserAbstract::log() |
|---|
stringThe message to log.
intThe logging priority, the lower,the more important. Ranges from 1 to 7
setDescription(string $description) : void
stringDescription for this definition.
setName(string $name) : void
stringName for this definition.
setNamespace(string $namespace) : void
stringNamespace name for this definition.
setNamespaceAliases(string[] $namespace_aliases) : void
string[]Array of aliases.
setReference(string $name) : void
stringName of the element to which is referred.
setTypes(string[] $types) : void
| todo | Move this method to a better spot with namespace and alias access (together with namespace and alias stuff). |
|---|
string[]Array with types in any format; will be transformed to FQCN.
configure() : void
$namespace : string
$namespace_aliases : array
$tag : \phpDocumentor\Reflection\DocBlock\Tag
$xml : \DOMEelement