Cleanup
This commit is contained in:
@ -5,12 +5,11 @@ use DateTimeInterface;
|
|||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use DateInterval;
|
use DateInterval;
|
||||||
use Incoviba\Common\Implement\Exception\EmptyRedis;
|
use Incoviba\Common\Implement\Exception\EmptyRedis;
|
||||||
use Psr\Log\LoggerInterface;
|
|
||||||
|
|
||||||
class IPC
|
class IPC
|
||||||
{
|
{
|
||||||
protected string $redisKey = 'ipc';
|
protected string $redisKey = 'ipc';
|
||||||
public function __construct(protected Redis $redisService, protected Money $moneyService, protected LoggerInterface $logger) {}
|
public function __construct(protected Redis $redisService, protected Money $moneyService) {}
|
||||||
|
|
||||||
public function get(DateTimeInterface $from, DateTimeInterface $to = new DateTimeImmutable()): float
|
public function get(DateTimeInterface $from, DateTimeInterface $to = new DateTimeImmutable()): float
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user