protected function load()
    {
        if ($this->cache->contains($this->getCacheKey())) {
            $this->map = $this->cache->fetch($this->getCacheKey());
        } else {
            $this->generateMap();
        }
    }
protected function load()
    {
        if ($this->cache->contains($this->getCacheKey())) {
            $this->map = $this->cache->fetch($this->getCacheKey());
        } else {
            $this->generateMap();
        }
    }
protected function load ( ) { if ( $ this -> cache -> contains ( $ this -> getCacheKey ( ) ) ) { $ this -> map = $ this -> cache -> fetch ( $ this -> getCacheKey ( ) ) ; } else { $ this -> generateMap ( ) ; } }
Tries to load the map from cache,
otherwise generates it.
Tries to load the map from cache otherwise generates it .