code: public function getTypeMap()
      {
          if (! $this->fullyLoaded) {
              $this->resolvedTypes = $this->collectAllTypes();
              $this->fullyLoaded   = true;
          }
  
          return $this->resolvedTypes;
      }
docs: Returns array of all types in this schema. Keys of this array represent type names, values are instances
  of corresponding type definitions
  
  This operation requires full schema scan. Do not use in production environment.
  
  @return Type[]
  
  @api