PHP code example of cache / illuminate-adapter
1. Go to this page and download the library: Download cache/illuminate-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/ */
cache / illuminate-adapter example snippets
use Illuminate\Cache\ArrayStore;
use Cache\Adapter\Illuminate\IlluminateCachePool;
// Create an instance of an Illuminate's Store
$store = new ArrayStore();
// Wrap the Illuminate's store with the PSR-6 adapter
$pool = new IlluminateCachePool($store);