You are here

public function AnnotationWithRequiredAttributes::getValue in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributes::getValue()
  2. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributes::getValue()

Return value

string

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php, line 37

Class

AnnotationWithRequiredAttributes
Plugin annotation @Target("ALL") @Attributes({ @Attribute("value", required = true , type = "string"), @Attribute("annot", required = true , type =…

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures

Code

public function getValue() {
  return $this->value;
}