CoreFiles by mySites.guru
ProviderAvailabilityInterface.php24 lines, 558 bytes, from wordpress-7.2-RC2.zip
Raw History Compare with 7.2-RC1
md5
89a7b6da66c4a46fc0d3649c0b695847
sha1
280d01f4bc8a219823da8b1ffe3ea58aa46623a1
sha256
b3952b2981049464f40d306d5acf0abea09a453601f16e037b12503456a99725
<?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;
}

The same content is in 44 releases, WordPress 7.0-beta1 to 7.2-RC2. See them all, or every version of this file.