summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Metrics/Aggregation/LastValueSummary.php
blob: 6cdb5ac9fa2c3eeb4af609eccb2650158fd49e37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

declare(strict_types=1);

namespace OpenTelemetry\SDK\Metrics\Aggregation;

final class LastValueSummary
{
    /**
     * @var float|int|null
     */
    public $value;
    public int $timestamp;
    /**
     * @param float|int|null $value
     */
    public function __construct($value, int $timestamp)
    {
        $this->value = $value;
        $this->timestamp = $timestamp;
    }
}