diff options
Diffstat (limited to 'vendor/open-telemetry/context/ExecutionContextAwareInterface.php')
-rw-r--r-- | vendor/open-telemetry/context/ExecutionContextAwareInterface.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/open-telemetry/context/ExecutionContextAwareInterface.php b/vendor/open-telemetry/context/ExecutionContextAwareInterface.php new file mode 100644 index 000000000..3a955bfae --- /dev/null +++ b/vendor/open-telemetry/context/ExecutionContextAwareInterface.php @@ -0,0 +1,23 @@ +<?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; +} |