WordPress\AiClient\Providers\Contracts
ProviderOperationsHandlerInterface::getOperation
Gets an operation by ID.
Метод класса: ProviderOperationsHandlerInterface{}
Хуков нет.
Возвращает
OperationInterface. The operation.
Использование
$ProviderOperationsHandlerInterface = new ProviderOperationsHandlerInterface(); $ProviderOperationsHandlerInterface->getOperation( $operationId ): OperationInterface;
- $operationId(строка) (обязательный)
- Operation identifier.
Список изменений
| С версии 0.1.0 | Введена. |
Код ProviderOperationsHandlerInterface::getOperation() ProviderOperationsHandlerInterface::getOperation WP 7.1.2
public function getOperation(string $operationId): OperationInterface;