AbstractGenerator
abstract class AbstractGenerator (View source)
Common base class for XML generators.
Properties
| protected ClassReflection | $abstractViewHelperReflectionClass | The reflection class for AbstractViewHelper. Is needed quite often, that's why we use a pre-initialized one.  | 
                |
| protected DocCommentParser | $docCommentParser | The doc comment parser.  | 
                |
| protected ReflectionService | $reflectionService | 
Methods
Constructor. Sets $this->abstractViewHelperReflectionClass
Get all class names inside this namespace and return them as array.
Get a tag name for a given ViewHelper class.
Add a child node to $parentXmlNode, and wrap the contents inside a CDATA section.
Details
        
                            
    __construct()
        
    
    Constructor. Sets $this->abstractViewHelperReflectionClass
        
                    protected        array
    getClassNamesInNamespace(string $namespace)
        
    
    Get all class names inside this namespace and return them as array.
        
                    protected        string
    getTagNameForClass(string $className, string $namespace)
        
    
    Get a tag name for a given ViewHelper class.
Example: For the View Helper Neos\FluidAdaptor\ViewHelpers\Form\SelectViewHelper, and the namespace prefix Neos\FluidAdaptor\ViewHelpers\, this method returns "form.select".
        
                    protected        SimpleXMLElement
    addChildWithCData(SimpleXMLElement $parentXmlNode, string $childNodeName, string $childNodeValue)
        
    
    Add a child node to $parentXmlNode, and wrap the contents inside a CDATA section.