sFire\Cache\Adapter\APCu is an adapter for sFire\Cache\Cache and is based on the PHP APCu library to store and retrieve data.
Note: APCu should be installed for this adapter to work properly.
To set-up the cache adapter, you need to inject the adapter into a new instance of sFire\Cache\Cache. You can do so by injecting the adapter into the constructor, or by calling the setAdapter method.
use sFire\Cache\Cache;
$cache = new Cache('APCu');
use sFire\Cache\Cache;
$cache = new Cache();
$cache -> setAdapter('APCu');
For the documentation about the usage of this adapter, you can view the sFire\Cache\Cache.