blob: 9750f5769b5bdf018f8a1517c2f27b2eb37a62fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Common\Time;
interface StopWatchFactoryInterface
{
public static function create(?ClockInterface $clock = null, ?int $initialStartTime = null): self;
public static function fromClockFactory(ClockFactoryInterface $factory, ?int $initialStartTime = null): self;
public function build(): StopWatchInterface;
public static function getDefault(): StopWatchInterface;
public static function setDefault(?StopWatchInterface $default): void;
}
|