protected function createRadioField($item) { $markup = file_get_contents($this->viewDirectoryPath . 'form-fields/radio-field.blade.stub'); return $this->wrapField($item, sprintf($markup, $item['name'])); }