protected function get_type_for($name) { return empty($this->settings[$name]['type']) ? 'string' : $this->settings[$name]['type']; }