function visitSelect(\cmu\html\form\products\Select $component) { $html = "<select "; $html .= $component->getAttributes(); $html .= ">"; $html .= $component->buildTraitOptions(); $html .= "</select>"; $html .= $component->returnHint(); return $html; }