WordPress\AiClient\Providers\Contracts

ProviderAvailabilityInterface{}interfaceWP 0.1.0

Interface for checking provider availability.

Determines whether a provider is configured and available for use based on API keys, credentials, or other requirements.

No Hooks.

Usage

$ProviderAvailabilityInterface = new ProviderAvailabilityInterface();
// use class methods

Methods

  1. public isConfigured()

Changelog

Since 0.1.0 Introduced.

ProviderAvailabilityInterface{} code WP 7.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;
}