Go\Lang\Annotation\BaseAnnotation::__set PHP Method

__set() public method

Error handler for unknown property mutator in Annotation class.
public __set ( string $name, mixed $value )
$name string Unknown property name
$value mixed Property value
    public function __set($name, $value)
    {
        throw new \BadMethodCallException(sprintf("Unknown property '%s' on annotation '%s'.", $name, get_class($this)));
    }