function Annotation::__set
Error handler for unknown property mutator in Annotation class.
Parameters
mixed $value Property value.:
Throws
BadMethodCallException
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ Annotation.php, line 71
Class
- Annotation
- Annotations class.
Namespace
Drupal\Component\Annotation\DoctrineCode
public function __set(string $name, $value) {
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.