summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php
blob: 6d9afde91583a17fe9e6b6aaec5fb5aedff14cd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

declare(strict_types=1);

namespace OpenTelemetry\SDK\Common\Time;

interface ClockFactoryInterface
{
    public static function create(): self;

    public function build(): ClockInterface;

    public static function getDefault(): ClockInterface;

    public static function setDefault(?ClockInterface $clock): void;
}