• File: ProvidesExtensions.php
  • Full Path: /home/slvgwrnz/public_html/wp-admin/wp-includes/wp-content/plugins/woocommerce/lib/packages/GraphQL/Error/ProvidesExtensions.php
  • Date Modified: 09/22/2026 11:40 AM
  • File size: 400 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php declare(strict_types=1);

namespace Automattic\WooCommerce\Vendor\GraphQL\Error;

/**
 * Implementing HasExtensions allows this error to provide additional data to clients.
 */
interface ProvidesExtensions
{
    /**
     * Data to include within the "extensions" key of the formatted error.
     *
     * @return array<string, mixed>|null
     */
    public function getExtensions(): ?array;
}