protected function getVariables()
    {
        foreach ($this->fields as $field) {
            $field->fill($this->data);
        }

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

        return [
            'fields' => $this->fields,
            'attributes' => $this->formatAttribute(),
            'method' => $this->attributes['method'],
        ];
    }
protected function getVariables ( ) { foreach ( $ this -> fields as $ field ) { $ field -> fill ( $ this -> data ) ; } return [ 'fields' => $ this -> fields , 'attributes' => $ this -> formatAttribute ( ) , 'method' => $ this -> attributes [ 'method' ] , ] ; }
Get variables for render form.

@return array
Get variables for render form .