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