code: public function getModelMap()
      {
          $m = [];
          $search = [];
          foreach ($this->searchModels as $path => $namespace) {
              $files = FileHelper::findFiles(Yii::getAlias($path), ['only' => ['.php']]);
              foreach ($files as $file) {
                  $baseName = strstr(basename($file), '.php', true);
                  $className = $namespace . '\\' . $baseName;
                  if (class_exists($className)) {
                      $reflector = new \ReflectionClass($className);
                      if ($reflector->isSubclassOf('yii\base\Model')) {
                          $m[$baseName] = $className;
                      }
                  }
              }
          }
  
          return $m;
      }
docs: Get model map.
  
  @return [[@doctodo return_type:getModelMap]] [[@doctodo return_description:getModelMap]]