function Annotation::__get
Same name and namespace in other branches
- 11.x core/lib/Drupal/Component/Annotation/Doctrine/Annotation.php \Drupal\Component\Annotation\Doctrine\Annotation::__get()
Error handler for unknown property accessor in Annotation class.
Throws
BadMethodCallException
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ Annotation.php, line 57
Class
- Annotation
- Annotations class.
Namespace
Drupal\Component\Annotation\DoctrineCode
public function __get(string $name) : mixed {
throw new BadMethodCallException(sprintf("Unknown property '%s' on annotation '%s'.", $name, static::class));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.