[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  
   3  declare (strict_types=1);
   4  namespace WordPress\AiClient\Providers\Contracts;
   5  
   6  /**
   7   * Interface for checking provider availability.
   8   *
   9   * Determines whether a provider is configured and available
  10   * for use based on API keys, credentials, or other requirements.
  11   *
  12   * @since 0.1.0
  13   */
  14  interface ProviderAvailabilityInterface
  15  {
  16      /**
  17       * Checks if the provider is configured.
  18       *
  19       * @since 0.1.0
  20       *
  21       * @return bool True if the provider is configured and available, false otherwise.
  22       */
  23      public function isConfigured(): bool;
  24  }


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