CoreFiles by mySites.guru
ProviderWithOperationsHandlerInterface.php24 lines, 669 bytes, from wordpress-7.2-beta4.zip
Raw History Compare with 7.2-beta3
md5
b1d6565b555e333392e4d50f50b6b3ae
sha1
e6cdd2974a6956bdaa678cab29a830b4841cfcc2
sha256
db4c8ad3baa2783c6bda416c683faf68b86f57bfdd2fb5d6fd386165c14c2b44
<?php

declare (strict_types=1);
namespace WordPress\AiClient\Providers\Contracts;

/**
 * Interface for providers that support operations handlers.
 *
 * Providers implementing this interface can return an operations handler
 * for managing long-running operations across all their models.
 *
 * @since 0.1.0
 */
interface ProviderWithOperationsHandlerInterface
{
    /**
     * Gets the operations handler for this provider.
     *
     * @since 0.1.0
     *
     * @return ProviderOperationsHandlerInterface The operations handler.
     */
    public static function operationsHandler(): \WordPress\AiClient\Providers\Contracts\ProviderOperationsHandlerInterface;
}

The same content is in 44 releases, WordPress 7.0-beta1 to 7.2-RC2. See them all, or every version of this file.