private function getLabel($field) { $labelText = isset($field['label']) ? $field['label'] : $this->getLabelText($field); return "<?= Form::label('" . $labelText . "') ?>"; }