/** * PHP unset magic method. * This is a PHP magic method that we override to allow using unset() to set a config key to be null. * * @param string $name the property name or the event name * @return mixed */ public function __unset($name) { if (isset($this->_configs[$name])) { $this->setConfig($name, null); } else { parent::__unset($name); } }