Initializes and registers the discovery strategy.
Source
public static function init(): void
{
if (!class_exists('WordPress\AiClientDependencies\Http\Discovery\Psr18ClientDiscovery')) {
return;
}
Psr18ClientDiscovery::prependStrategy(static::class);
}
Changelog
| Version | Description |
|---|---|
| 1.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.