[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/php-ai-client/src/Providers/Contracts/ -> ProviderWithOperationsHandlerInterface.php (source)

   1  <?php
   2  
   3  declare (strict_types=1);
   4  namespace WordPress\AiClient\Providers\Contracts;
   5  
   6  /**
   7   * Interface for providers that support operations handlers.
   8   *
   9   * Providers implementing this interface can return an operations handler
  10   * for managing long-running operations across all their models.
  11   *
  12   * @since 0.1.0
  13   */
  14  interface ProviderWithOperationsHandlerInterface
  15  {
  16      /**
  17       * Gets the operations handler for this provider.
  18       *
  19       * @since 0.1.0
  20       *
  21       * @return ProviderOperationsHandlerInterface The operations handler.
  22       */
  23      public static function operationsHandler(): \WordPress\AiClient\Providers\Contracts\ProviderOperationsHandlerInterface;
  24  }


Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref