\Horde\RefactorTagFactory

Factory for DocBlock\Tag objects.

Summary

Methods
Properties
Constants
create()
No public properties found
No constants found
No protected methods found
$_tagHandlerMappings
N/A
No private methods found
No private properties found
N/A

Properties

$_tagHandlerMappings

$_tagHandlerMappings : array

Type

array — An array with a tag as a key, and an FQCN to a class that handles it as an array value. The class is expected to inherit this class.

Methods

create()

create(string  $name, string  $value) : \phpDocumentor\Reflection\DocBlock\Tag

Factory method responsible for instantiating the correct sub type.

Parameters

string $name

The tag name.

string $value

The tag value.

Returns

\phpDocumentor\Reflection\DocBlock\Tag —

A new tag object.