You are here

public function AnnotationWithAttributes::getArrayOfAnnotations in Drupal 9

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

Return value

array<Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetAll>

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php, line 124

Class

AnnotationWithAttributes
Plugin annotation @Target("ALL") @Attributes({ @Attribute("mixed", type = "mixed"), @Attribute("boolean", type = "boolean"), @Attribute("bool", type = "bool"), @Attribute("float", …

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures

Code

public function getArrayOfAnnotations() {
  return $this->arrayOfAnnotations;
}