SilverLeague\IDEAnnotator\Extensions\Annotatable
Class Annotatable
Annotate extension for the provided DataObjects for autocompletion purposes.
Start annotation, if skipannotation is not set and the annotator is enabled.
Synopsis
class Annotatable
extends Extension
{
- // members
- public static array $annotated_extensions = ;
- protected DataObjectAnnotator $annotator;
- protected AnnotatePermissionChecker $permissionChecker;
- // methods
- public void afterCallActionHandler()
- public bool annotateModules()
- public void setUp()
- public void displayMessage()
- public DataObjectAnnotator getAnnotator()
- public AnnotatePermissionChecker getPermissionChecker()
Hierarchy
Extends
- SilverStripe\Core\Extension
Members
protected
- $annotator — SilverLeague\IDEAnnotator\DataObjectAnnotator
- $permissionChecker — SilverLeague\IDEAnnotator\Helpers\AnnotatePermissionChecker
public
- $annotated_extensions
—
array
Keep track ot the annotation actions for extensions An Extension can belong to many DataObjects.
Methods
public
- afterCallActionHandler() — Annotated Controllers and Extensions
- annotateModules() — Conditionally annotate this project's modules if enabled and not skipped
- displayMessage()
- getAnnotator()
- getPermissionChecker()
- setUp() — Annotatable setup.