/** @return Form\Element\Caption */ public function addCaption($field, $label, $info = null) { $c = new Caption($field, $label, $this); if ($info) { $c->setInfo($info); } return $this->fields[$field] = $c; }