protected function warmCache($hash, $variant = null)
    {
        // Warm dimension cache
        $key = $this->getDimensionCacheKey($hash, $variant);
        $resource = $this->getImageResource();
        if ($resource) {
            $result = $this->getResourceDimensions($resource);
            $this->getCache()->set($key, $result);
        }
    }
protected function warmCache($hash, $variant = null)
    {
        // Warm dimension cache
        $key = $this->getDimensionCacheKey($hash, $variant);
        $resource = $this->getImageResource();
        if ($resource) {
            $result = $this->getResourceDimensions($resource);
            $this->getCache()->set($key, $result);
        }
    }
protected function warmCache ( $ hash , $ variant = null ) { // Warm dimension cache $ key = $ this -> getDimensionCacheKey ( $ hash , $ variant ) ; $ resource = $ this -> getImageResource ( ) ; if ( $ resource ) { $ result = $ this -> getResourceDimensions ( $ resource ) ; $ this -> getCache ( ) -> set ( $ key , $ result ) ; } }
Warm dimension cache for the given asset

@param string $hash
@param string|null $variant
Warm dimension cache for the given asset