src/Framework/Form/AspiForm.php
public function addFieldFromConfig($name, $field)
    {
        $this->addField(Fields::create($name, $field));
        return $this;
    }
public function addFieldFromConfig($name, $field)
    {
        $this->addField(Fields::create($name, $field));
        return $this;
    }
public function addFieldFromConfig ( $ name , $ field ) { $ this -> addField ( Fields :: create ( $ name , $ field ) ) ; return $ this ; }
Method to add a form field from a config

@param  string $name
@param  array  $field
@return Form
Method to add a form field from a config