public function setConfigBool($variable, $value) { $this->properties->set($variable, $value == true ? "1" : "0"); }