• File: ProviderAvailabilityInterface.php
  • Full Path: /home4/jdaxcom/j3dax.online/wp-includes/php-ai-client/src/Providers/Contracts/ProviderAvailabilityInterface.php
  • Date Modified: 05/21/2026 3:07 PM
  • File size: 558 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

declare (strict_types=1);
namespace WordPress\AiClient\Providers\Contracts;

/**
 * Interface for checking provider availability.
 *
 * Determines whether a provider is configured and available
 * for use based on API keys, credentials, or other requirements.
 *
 * @since 0.1.0
 */
interface ProviderAvailabilityInterface
{
    /**
     * Checks if the provider is configured.
     *
     * @since 0.1.0
     *
     * @return bool True if the provider is configured and available, false otherwise.
     */
    public function isConfigured(): bool;
}