You are here

public function Annotation::__set in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php \Doctrine\Common\Annotations\Annotation::__set()

Error handler for unknown property mutator in Annotation class.

Parameters

string $name Unknown property name.:

mixed $value Property value.:

Throws

\BadMethodCallException

File

modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php, line 73

Class

Annotation
Annotations class.

Namespace

Doctrine\Common\Annotations

Code

public function __set($name, $value) {
  throw new \BadMethodCallException(sprintf("Unknown property '%s' on annotation '%s'.", $name, get_class($this)));
}