/** * @inheritdoc */ public function __isset($name) { if (array_key_exists($name, $this->properties) || in_array($name, $this->properties)) { return isset($this->properties[$name]); } else { parent::__isset($name, $value); } }