SilverLeague\IDEAnnotator\Generators\AbstractTagGenerator
AbstractTagGenerator
Synopsis
class AbstractTagGenerator
{
- // members
- protected string $className = '';
- protected array $existingTags = ;
- protected ReflectionClass $reflector;
- protected array $tags = ;
- // methods
- 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()
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
- 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
- __construct() — DocBlockTagGenerator constructor.
- getExistingTagCommentByTagString()
- getExistingTags()
- getSupportedTagTypes() — List of supported tags.
- getTags()