original_string: private function loadMap()
      {
          $this->map = $this->cache->getItem($this->cacheKey);
  
          if (is_array($this->map)) {
              return;
          }
  
          $realResolverInstantiator = $this->realResolverInstantiator;
          $realResolver             = $realResolverInstantiator();
  
          if (! $realResolver instanceof ResolverInterface) {
              throw InvalidResolverInstantiatorException::fromInvalidResolver($realResolver);
          }
  
          $this->map = (new TemplateMapCompiler())->compileMap($realResolver);
  
          $this->cache->setItem($this->cacheKey, $this->map);
      }
code: private function loadMap()
      {
          $this->map = $this->cache->getItem($this->cacheKey);
  
          if (is_array($this->map)) {
              return;
          }
  
          $realResolverInstantiator = $this->realResolverInstantiator;
          $realResolver             = $realResolverInstantiator();
  
          if (! $realResolver instanceof ResolverInterface) {
              throw InvalidResolverInstantiatorException::fromInvalidResolver($realResolver);
          }
  
          $this->map = (new TemplateMapCompiler())->compileMap($realResolver);
  
          $this->cache->setItem($this->cacheKey, $this->map);
      }
code_tokens: private function loadMap ( ) { $ this -> map = $ this -> cache -> getItem ( $ this -> cacheKey ) ; if ( is_array ( $ this -> map ) ) { return ; } $ realResolverInstantiator = $ this -> realResolverInstantiator ; $ realResolver = $ realResolverInstantiator ( ) ; if ( ! $ realResolver instanceof ResolverInterface ) { throw InvalidResolverInstantiatorException :: fromInvalidResolver ( $ realResolver ) ; } $ this -> map = ( new TemplateMapCompiler ( ) ) -> compileMap ( $ realResolver ) ; $ this -> cache -> setItem ( $ this -> cacheKey , $ this -> map ) ; }
docstring: Load the template map into memory
docstring_tokens: Load the template map into memory