Releases: nazg-hack/hcache
Releases · nazg-hack/hcache
fixed lint and more
Merge pull request #5 from nazg-hack/feature/versions added travisci config
fixed bugs
fixed unbound name for HHVM3.26
Merge pull request #3 from nazg-hack/fixed/hhvm3.26-unbound-name-patch fixed unbound name for HHVM3.26
Added Redis Cache Driver
Nazg\HCache\Driver\RedisCache
<?hh
use Redis;
use Nazg\HCache\Element;
use Nazg\HCache\Driver\RedisCache;
$cache = new RedisCache();
$redis = new Redis();
$redis->connect('127.0.0.1', 6379);
$cache->setRedis($redis);
$cache->save("qwerty", new Element('testing:cache', 0));