AiClient::getCache(): WordPressAiClientDependenciesPsrSimpleCacheCacheInterface|null

In this article

Gets the PSR-16 cache instance.

Return

WordPressAiClientDependenciesPsrSimpleCacheCacheInterface|null The cache instance, or null if not set.

Source

public static function getCache(): ?CacheInterface
{
    return self::$cache;
}

Changelog

VersionDescription
0.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.