function AnnotationWithRequiredAttributes::getAnnot

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributes::getAnnot()
  2. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributes::getAnnot()
  3. 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributes::getAnnot()

Return value

Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetAnnotation

File

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

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 getAnnot() {
    return $this->annot;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.