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
Methods
__construct()
__construct(\Zend\Code\Generic\Prototype\PrototypeInterface[] $prototypes, \Zend\Code\Generic\Prototype\PrototypeGenericInterface $genericPrototype)
Inherited
inherited_from |
\Zend\Code\Generic\Prototype\PrototypeClassFactory::__construct() |
Parameters
addPrototype()
addPrototype(\Zend\Code\Generic\Prototype\PrototypeInterface $prototype)
Inherited
inherited_from |
\Zend\Code\Generic\Prototype\PrototypeClassFactory::addPrototype() |
Parameters
Exceptions
getClonedPrototype()
getClonedPrototype(string $prototypeName) : \Zend\Code\Generic\Prototype\PrototypeInterface
Inherited
inherited_from |
\Zend\Code\Generic\Prototype\PrototypeClassFactory::getClonedPrototype() |
Parameters
$prototypeName
string
Exceptions
Returns
hasPrototype()
hasPrototype(string $name) : bool
Inherited
inherited_from |
\Zend\Code\Generic\Prototype\PrototypeClassFactory::hasPrototype() |
Parameters
$name
string
Returns
bool
setGenericPrototype()
setGenericPrototype(\Zend\Code\Generic\Prototype\PrototypeGenericInterface $prototype)
Inherited
inherited_from |
\Zend\Code\Generic\Prototype\PrototypeClassFactory::setGenericPrototype() |
Parameters
Exceptions
normalizeName()
normalizeName(string $name) : string
Inherited
inherited_from |
\Zend\Code\Generic\Prototype\PrototypeClassFactory::normalizeName() |
Parameters
$name
string
Returns
string
Properties
$prototypes
$prototypes : array
Inherited
inherited_from |
\Zend\Code\Generic\Prototype\PrototypeClassFactory::$$prototypes |