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);
    }
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);
    }
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 ) ; }
Load the template map into memory
Load the template map into memory