public function cache($handle)
    {
        $fileID = $this->getCacheID();
        $storage = Storage::disk($this->cache_disk);
        $storage->put(
            $this->generateCacheFilePath($fileID, true),
            $handle->encode($this->extension(), config('images.image_quality', 90))
        );
    }
public function cache($handle)
    {
        $fileID = $this->getCacheID();
        $storage = Storage::disk($this->cache_disk);
        $storage->put(
            $this->generateCacheFilePath($fileID, true),
            $handle->encode($this->extension(), config('images.image_quality', 90))
        );
    }
public function cache ( $ handle ) { $ fileID = $ this -> getCacheID ( ) ; $ storage = Storage :: disk ( $ this -> cache_disk ) ; $ storage -> put ( $ this -> generateCacheFilePath ( $ fileID , true ) , $ handle -> encode ( $ this -> extension ( ) , config ( 'images.image_quality' , 90 ) ) ) ; }
Save image to cache.

@param \Intervention\Image\Facades\Image $handle Image handle

@return void
Save image to cache .