Swagger\Annotations\AbstractAnnotation::__set PHP Méthode

__set() public méthode

public __set ( $property, $value )
    public function __set($property, $value)
    {
        $fields = get_object_vars($this);
        foreach (static::$_blacklist as $_property) {
            unset($fields[$_property]);
        }
        Logger::notice('Unexpected field "' . $property . '" for ' . $this->identity() . ', expecting "' . implode('", "', array_keys($fields)) . '" in ' . $this->_context);
        $this->{$property} = $value;
    }