WordPress\AiClient\Providers\Contracts
ProviderAvailabilityInterface{}
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
- public isConfigured()
Changelog
| Since 0.1.0 | Introduced. |
ProviderAvailabilityInterface{} 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;
}