public function getField($name)
    {
        if ($this->has($name)) {
            return $this->fields[$name];
        }

        $this->fieldDoesNotExist($name);
    }
public function getField($name)
    {
        if ($this->has($name)) {
            return $this->fields[$name];
        }

        $this->fieldDoesNotExist($name);
    }
public function getField ( $ name ) { if ( $ this -> has ( $ name ) ) { return $ this -> fields [ $ name ] ; } $ this -> fieldDoesNotExist ( $ name ) ; }
Get single field instance from form object.

@param string $name
@return FormField
Get single field instance from form object .