code: public function buildMap($m)
      {
          $map = [];
          foreach ($m as $k => $v) {
              $fieldMap = $v;
              if (!isset($fieldMap['class'])) {
                  $fieldMap['class'] = $this->fieldMapClass;
              }
              $fieldMap['dataSource'] = $this;
              $fieldMap = Yii::createObject($fieldMap);
              $map[] = $fieldMap;
          }
  
          return $map;
      }
docs: [[@doctodo method_description:buildMap]].
  
  @param [[@doctodo param_type:m]] $m [[@doctodo param_description:m]]
  
  @return [[@doctodo return_type:buildMap]] [[@doctodo return_description:buildMap]]