for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Redislabs\RedisClient;
use Redislabs\Interfaces\RedisClientInterface;
use Predis\Client as RedisClient;
final class Predis implements RedisClientInterface
{
private $redisClient;
public function __construct(RedisClient $redisClient)
$this->redisClient = $redisClient;
}
public function getClient() : RedisClient
return $this->redisClient;
public function rawCommand(string $command, array $arguments)
array_unshift($arguments, $command);
return $this->redisClient->executeRaw($arguments);