public function enableType($type) { if (in_array($type, $this->disabledTypes)) { unset($this->disabledTypes[$type]); } }