Zend Framework  3.0
Public Member Functions | List of all members
TagManager Class Reference

This class is used in DocBlockGenerator and creates the needed Tag classes depending on the tag. More...

Public Member Functions

 initializeDefaultTags ()
 
 createTagFromReflection (ReflectionTagInterface $reflectionTag)
 
- Public Member Functions inherited from PrototypeClassFactory
 __construct ($prototypes=[], PrototypeGenericInterface $genericPrototype=null)
 
 addPrototype (PrototypeInterface $prototype)
 
 setGenericPrototype (PrototypeGenericInterface $prototype)
 
 hasPrototype ($name)
 
 getClonedPrototype ($prototypeName)
 

Additional Inherited Members

- Protected Member Functions inherited from PrototypeClassFactory
 normalizeName ($name)
 
- Protected Attributes inherited from PrototypeClassFactory
 $prototypes = []
 
 $genericPrototype = null
 

Detailed Description

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

Member Function Documentation

createTagFromReflection ( ReflectionTagInterface  $reflectionTag)
Parameters
ReflectionTagInterface$reflectionTag
Returns
TagInterface
initializeDefaultTags ( )
Returns
void