PHP 8.2.31
Preview: ProviderOperationsHandlerInterface.php Size: 850 B
/home/nshryvcy/taramarriagebureau.com/wp-includes/php-ai-client/src/Providers/Contracts/ProviderOperationsHandlerInterface.php

<?php

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

use WordPress\AiClient\Common\Exception\InvalidArgumentException;
use WordPress\AiClient\Operations\Contracts\OperationInterface;
/**
 * Interface for handling provider-level operations.
 *
 * Provides methods to retrieve and manage long-running operations
 * across all models within a provider. Operations are tracked at the
 * provider level rather than per-model.
 *
 * @since 0.1.0
 */
interface ProviderOperationsHandlerInterface
{
    /**
     * Gets an operation by ID.
     *
     * @since 0.1.0
     *
     * @param string $operationId Operation identifier.
     * @return OperationInterface The operation.
     * @throws InvalidArgumentException If operation not found.
     */
    public function getOperation(string $operationId): OperationInterface;
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
1.23 KB lrw-r--r-- 2026-05-21 04:11:25
Edit Download
558 B lrw-r--r-- 2026-05-21 04:11:25
Edit Download
1.71 KB lrw-r--r-- 2026-05-21 04:11:25
Edit Download
850 B lrw-r--r-- 2026-05-21 04:11:25
Edit Download
669 B lrw-r--r-- 2026-05-21 04:11:25
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).