Definition for the @param tag; adds a attribute called `variable`.
Methods
Initializes this object with the given data and sets the name and
description.
__construct(string $namespace, \string[] $namespace_aliases, SimpleXMLElement $xml, \phpDocumentor\Reflection\DocBlock\Tag $tag)
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::__construct() |
Parameters
$namespace
stringNamespace where this tag occurs.
$namespace_aliases
\string[]Aliases used for all namespaces at the location of this tag.
Creates a new instance of this class or one of the specialized sub-classes.
create(string $namespace, \string[] $namespace_aliases, SimpleXMLElement $xml, \phpDocumentor\Reflection\DocBlock\Tag $tag) : \phpDocumentor_Parser_DocBlock_Tag_Definition
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::create() |
Parameters
$namespace
stringNamespace where this tag occurs.
$namespace_aliases
\string[]Aliases used for all namespaces at the location of this tag.
Returns
\phpDocumentor_Parser_DocBlock_Tag_Definition
Dispatches a logging request to log a debug message.
debug(string $message) : void
Inherited
| inherited_from |
\phpDocumentor_Parser_Abstract::debug() |
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::debug() |
Parameters
$message
stringThe message to log.
Dispatches an event to the Event Dispatcher.
dispatch(string $name, \string[] $arguments) : mixed | null
Inherited
This method tries to dispatch an event; if no Event Dispatcher has been
set than this method will explicitly not fail and return null.
By not failing we make the Event Dispatcher optional and is it easier
for people to re-use this component in their own application.
| inherited_from |
\phpDocumentor_Parser_Abstract::dispatch() |
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::dispatch() |
Parameters
$name
stringName of the event to dispatch.
$arguments
\string[]Arguments for this event.
Exceptions
Returns
mixednull
Returns the namespace identifier for this tag.
getNamespace() : string
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::getNamespace() |
Returns
string
Returns all aliases for namespaces at the location of this tag.
getNamespaceAliases() : array
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::getNamespaceAliases() |
Returns
array
Dispatches a logging request.
log(string $message, int $priority) : void
Inherited
| inherited_from |
\phpDocumentor_Parser_Abstract::log() |
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::log() |
Parameters
$message
stringThe message to log.
$priority
intThe logging priority, the lower, the more important. Ranges from 1 to 7
Setter for the description so it can be overridden.
setDescription(string $description) : void
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::setDescription() |
Parameters
$description
stringDescription for this definition.
Setter for the name so it can be overridden.
setName(string $name) : void
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::setName() |
Parameters
$name
stringName for this definition.
Sets the namespace for this tag; is used to determine type info.
setNamespace(string $namespace) : void
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::setNamespace() |
Parameters
$namespace
stringNamespace name for this definition.
Sets the aliases for all namespaces.
setNamespaceAliases(\string[] $namespace_aliases) : void
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::setNamespaceAliases() |
Parameters
$namespace_aliases
\string[]Array of aliases.
Setter for the reference so it can be overridden.
setReference(string $name) : void
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::setReference() |
Parameters
$name
stringName of the element to which is referred.
Adds type information to the structure.
setTypes(\string[] $types) : void
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::setTypes() |
Parameters
$types
\string[]Array with types in any format; will be transformed to FQCN.
Tries to expand a type to it's full namespaced equivalent.
expandType(string $type, bool $ignore_non_objects) : string
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::expandType() |
Parameters
$type
stringType to expand into full namespaced equivalent.
$ignore_non_objects
boolwhether to ignore reserved words, when false it will not expand a set of keywords.
Returns
string
Properties
The event dispatcher object, may be null to not dispatch events.
$event_dispatcher : \sfEventDispatcher | null
Inherited
| inherited_from |
\phpDocumentor_Parser_Abstract::$$event_dispatcher |
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::$$event_dispatcher |
$namespace
$namespace : string
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::$$namespace |
$namespace_aliases
$namespace_aliases : array
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::$$namespace_aliases |
$xml
$xml : \SimpleXMLElement
Inherited
| inherited_from |
\phpDocumentor_Plugin_Core_Parser_DocBlock_Tag_Definition::$$xml |