src/Potter/Utils/Form/Widget.php
public function parseFields($fields)
    {
        foreach ($fields as $id => $options):
            $field = $this->makeField($id, $options);
            $this->fields->put($id, $field);
        endforeach;

        return $this;
    }
public function parseFields($fields)
    {
        foreach ($fields as $id => $options):
            $field = $this->makeField($id, $options);
            $this->fields->put($id, $field);
        endforeach;

        return $this;
    }
@param $fields

@return $this