Promise
2 months ago
ExecutionContext.php
2 months ago
ExecutionResult.php
2 months ago
Executor.php
2 months ago
ExecutorImplementation.php
2 months ago
PromiseExecutor.php
2 months ago
ReferenceExecutor.php
2 months ago
ScopedContext.php
2 months ago
Values.php
2 months ago
ScopedContext.php
14 lines
| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | namespace Automattic\WooCommerce\Vendor\GraphQL\Executor; |
| 4 | |
| 5 | /** |
| 6 | * When the object passed as `$contextValue` to Automattic\WooCommerce\Vendor\GraphQL execution implements this, |
| 7 | * its `clone()` method will be called before passing the context down to a field. |
| 8 | * This allows passing information to child fields in the query tree without affecting sibling or parent fields. |
| 9 | */ |
| 10 | interface ScopedContext |
| 11 | { |
| 12 | public function clone(): self; |
| 13 | } |
| 14 |