This commit is contained in:
Juan Pablo Vial
2024-04-02 13:50:08 -03:00
parent bc9c71870c
commit 84a2fbd119
6 changed files with 105 additions and 27 deletions

View File

@ -1,12 +1,12 @@
<?php
namespace Incoviba\Service;
use Predis\Client;
use Predis\ClientInterface;
use Incoviba\Common\Implement\Exception\EmptyRedis;
class Redis
{
public function __construct(protected Client $client) {}
public function __construct(protected ClientInterface $client) {}
public function get(string $name): mixed
{