You are here

public function Annotation::__get in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php \Doctrine\Common\Annotations\Annotation::__get()

Error handler for unknown property accessor in Annotation class.

Parameters

string $name Unknown property name.:

Throws

\BadMethodCallException

File

vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php, line 58

Class

Annotation
Annotations class.

Namespace

Doctrine\Common\Annotations

Code

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