SilverLeague\IDEAnnotator\Generators\ControllerTagGenerator
Synopsis
class ControllerTagGenerator
extends AbstractTagGenerator
{
- // Inherited members from AbstractTagGenerator
- protected string $className;
- protected array $existingTags;
- protected ReflectionClass $reflector;
- protected array $tags;
- // methods
- protected void generateTags()
- protected void generateControllerObjectTags()
- protected bool isContentController()
- // Inherited methods from AbstractTagGenerator
- public void __construct()
- public array getSupportedTagTypes()
- protected abstract void generateTags()
- public array getTags()
- protected void generateExtensionsTags()
- protected mixed getClassConfig()
- protected string getAnnotationClassName()
- protected void pushMixinTag()
- protected Tag pushTagWithExistingComment()
- public string getExistingTagCommentByTagString()
- public array getExistingTags()
- protected void generateOwnerTags()
- protected array getOwnerClasses()
- protected void pushPropertyTag()
- protected void pushMethodTag()
Hierarchy
Members
protected
- $className
—
string
The current class we are working with - $existingTags
—
array
The existing tags of the class we are working with - $reflector — ReflectionClass
Methods
protected
- generateControllerObjectTags() — Generate the controller tags, these differ slightly from the standard ORM tags
- generateTags()
- isContentController()
Inherited from SilverLeague\IDEAnnotator\Generators\AbstractTagGenerator
protected
- generateExtensionsTags() — Generate the mixins for DataExtensions.
- generateOwnerTags() — Generate the Owner-properties for extensions.
- generateTags()
- getAnnotationClassName() — Check if we need to use the short name for a class
- getClassConfig()
- getOwnerClasses() — Get all owner classes of the given extension class
- pushMethodTag()
- pushMixinTag()
- pushPropertyTag()
- pushTagWithExistingComment()
public
- getExistingTagCommentByTagString()
- getExistingTags()
- getSupportedTagTypes() — List of supported tags.
- getTags()