24 lines
365 B
PHP
24 lines
365 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace OpenTelemetry\Context;
|
||
|
|
||
|
interface ExecutionContextAwareInterface
|
||
|
{
|
||
|
/**
|
||
|
* @param int|string $id
|
||
|
*/
|
||
|
public function fork($id): void;
|
||
|
|
||
|
/**
|
||
|
* @param int|string $id
|
||
|
*/
|
||
|
public function switch($id): void;
|
||
|
|
||
|
/**
|
||
|
* @param int|string $id
|
||
|
*/
|
||
|
public function destroy($id): void;
|
||
|
}
|