WordPress\AiClient\Providers\Contracts
ProviderWithOperationsHandlerInterface{}
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.
Хуков нет.
Использование
$ProviderWithOperationsHandlerInterface = new ProviderWithOperationsHandlerInterface(); // use class methods
Методы
- public static operationsHandler()
Список изменений
| С версии 0.1.0 | Введена. |
Код ProviderWithOperationsHandlerInterface{} ProviderWithOperationsHandlerInterface{} WP 7.0.4
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;
}