WordPress\AiClient\Providers\Contracts

ProviderOperationsHandlerInterface::getOperation │ public │ WP 0.1.0

Gets an operation by ID.

Метод класса: ProviderOperationsHandlerInterface{}

Хуков нет.

Возвращает

OperationInterface. The operation.

Использование

$ProviderOperationsHandlerInterface = new ProviderOperationsHandlerInterface();
$ProviderOperationsHandlerInterface->getOperation( $operationId ): OperationInterface;
$operationId(строка) (обязательный)
Operation identifier.

Список изменений

С версии 0.1.0 Введена.

Код ProviderOperationsHandlerInterface::getOperation() WP 7.1.2

public function getOperation(string $operationId): OperationInterface;