Skip to content

Instantly share code, notes, and snippets.

Created July 14, 2016 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2393f90543d869a80005f0237974b7ce to your computer and use it in GitHub Desktop.
Save anonymous/2393f90543d869a80005f0237974b7ce to your computer and use it in GitHub Desktop.
<?php
/**
* Class Redis
* @package Cache
*/
class RedisCache
{
/**
* @var \Redis
*/
private $redis;
public function __call($method, $arguments)
{
$result = call_user_func_array(array($this->redis, $method), $arguments);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment