protected getVariables ( ) : array | ||
return | array |
protected function getVariables()
{
foreach ($this->fields as $field) {
$field->fill($this->data);
}
return ['fields' => $this->fields, 'attributes' => $this->formatAttribute()];
}