PHP code example of jgivoni / flysystem-cache-adapter
1. Go to this page and download the library: Download jgivoni/flysystem-cache-adapter library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jgivoni / flysystem-cache-adapter example snippets
$cache = new \Symfony\Component\Cache\Adapter\RedisAdapter(...);
$filesystemAdapter = new \League\Flysystem\AwsS3V3\AwsS3V3Adapter(...);
$cachedFilesystemAdapter = new \jgivoni\Flysystem\Cache\CacheAdapter($filesystemAdapter, $cache);