Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Commit 4589b11

Browse files
committed
Add local context methods to Context.php; enhance key management functionality
1 parent 3f14f91 commit 4589b11

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/Async/Context.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ final class Context
88
{
99
public function find(string|object $key): mixed {}
1010
public function get(string|object $key): mixed {}
11+
public function has(string|object $key): bool {}
1112
public function set(string|object $key, mixed $value, bool $replace = false): self {}
1213
public function unset(string|object $key): self {}
14+
public function findLocal(string|object $key): mixed {}
15+
public function getLocal(string|object $key): mixed {}
16+
public function hasLocal(string|object $key): bool {}
1317
public function dispose(): void {}
1418
}

0 commit comments

Comments
 (0)