public function TestAnnotation::get in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php \Drupal\Tests\Component\Annotation\Plugin\Discovery\TestAnnotation::get()
- 10 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 46
Class
Namespace
Drupal\Tests\Component\Annotation\Plugin\DiscoveryCode
public function get() {
return new ObjectDefinition($this->definition);
}