Initial commit

This commit is contained in:
joopschilder committed 2020-12-28 23:32:37 +01:00
commit 66b18a024d
56 files changed
+3881

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
<?php
namespace Toalett\Redis\Timeseries\Model;
final class Range
{
private string $key;
private array $labels;
private array $values;
public function __construct(string $key, array $labels, array $values)
{
$this->key = $key;
$this->labels = $labels;
$this->values = $values;
}
public function getKey(): string
{
return $this->key;
}
public function getLabels(): array
{
return $this->labels;
}
/**
* @return Value[]
*/
public function getValues(): array
{
return $this->values;
}
}