ClientAware.php
2 months ago
CoercionError.php
2 months ago
DebugFlag.php
2 months ago
Error.php
2 months ago
FormattedError.php
2 months ago
InvariantViolation.php
2 months ago
ProvidesExtensions.php
2 months ago
SerializationError.php
2 months ago
SyntaxError.php
2 months ago
UserError.php
2 months ago
Warning.php
2 months ago
ProvidesExtensions.php
17 lines
| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | namespace Automattic\WooCommerce\Vendor\GraphQL\Error; |
| 4 | |
| 5 | /** |
| 6 | * Implementing HasExtensions allows this error to provide additional data to clients. |
| 7 | */ |
| 8 | interface ProvidesExtensions |
| 9 | { |
| 10 | /** |
| 11 | * Data to include within the "extensions" key of the formatted error. |
| 12 | * |
| 13 | * @return array<string, mixed>|null |
| 14 | */ |
| 15 | public function getExtensions(): ?array; |
| 16 | } |
| 17 |