WordPress\AiClient\Common\Contracts

CachesDataInterface{}interfaceWP 0.4.0

Interface for objects that cache data.

No Hooks.

Usage

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

Methods

  1. public invalidateCaches()

Changelog

Since 0.4.0 Introduced.

CachesDataInterface{} code WP 7.0

interface CachesDataInterface
{
    /**
     * Invalidates all caches managed by this object.
     *
     * @since 0.4.0
     *
     * @return void
     */
    public function invalidateCaches(): void;
}