diff options
Diffstat (limited to 'vendor/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php')
-rw-r--r-- | vendor/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php b/vendor/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php new file mode 100644 index 000000000..6d9afde91 --- /dev/null +++ b/vendor/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php @@ -0,0 +1,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; +} |