private function buildFields()
    {
        $fields = array_map(function($field) {
            return ($field instanceof Builder) ? $field->build() : $field;
        }, $this->getFields());

        return $this->transformFields($fields);
    }
private function buildFields()
    {
        $fields = array_map(function($field) {
            return ($field instanceof Builder) ? $field->build() : $field;
        }, $this->getFields());

        return $this->transformFields($fields);
    }
private function buildFields ( ) { $ fields = array_map ( function ( $ field ) { return ( $ field instanceof Builder ) ? $ field -> build ( ) : $ field ; } , $ this -> getFields ( ) ) ; return $ this -> transformFields ( $ fields ) ; }
Return a fields config array
@return array
Return a fields config array