Provides a base class for classed annotations.
Hierarchy
- class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterface
File
- core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 8
Namespace
Drupal\Component\Annotation
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AnnotationBase::$class | protected | property | The class used for this annotated class. |
AnnotationBase::$id | public | property | The annotated class ID. |
AnnotationBase::$provider | protected | property | The provider of the annotated class. |
AnnotationBase::getClass | public | function | Gets the class of the annotated class. Overrides AnnotationInterface::getClass |
AnnotationBase::getId | public | function | Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId |
AnnotationBase::getProvider | public | function | Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider |
AnnotationBase::setClass | public | function | Sets the class of the annotated class. Overrides AnnotationInterface::setClass |
AnnotationBase::setProvider | public | function | Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider |
AnnotationInterface::get | public | function | Gets the value of an annotation. |
Please login to continue.