public function TestAnnotation::get in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php \Drupal\Tests\Component\Annotation\Plugin\Discovery\TestAnnotation::get()
- 9 core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php \Drupal\Tests\Component\Annotation\Plugin\Discovery\TestAnnotation::get()
Gets the value of an annotation.
Overrides Plugin::get
File
- core/
tests/ Drupal/ Tests/ Component/ Annotation/ Plugin/ Discovery/ AnnotationBridgeDecoratorTest.php, line 49
Class
Namespace
Drupal\Tests\Component\Annotation\Plugin\DiscoveryCode
public function get() {
return new ObjectDefinition($this->definition);
}