You are here

class AnnotationBaseStub in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php \Drupal\Tests\Component\Annotation\AnnotationBaseStub
  2. 9 core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php \Drupal\Tests\Component\Annotation\AnnotationBaseStub

Hierarchy

Expanded class hierarchy of AnnotationBaseStub

File

core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php, line 48

Namespace

Drupal\Tests\Component\Annotation
View source
class AnnotationBaseStub extends AnnotationBase {

  /**
   * {@inheritdoc}
   */
  public function get() {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AnnotationBase::$class protected property The class used for this annotated class.
AnnotationBase::$id public property The annotated class ID. 1
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 1
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
AnnotationBaseStub::get public function Gets the value of an annotation. Overrides AnnotationInterface::get