WordPress\AiClient\Providers\Contracts
ProviderOperationsHandlerInterface::getOperation
Gets an operation by ID.
Method of the class: ProviderOperationsHandlerInterface{}
No Hooks.
Returns
OperationInterface. The operation.
Usage
$ProviderOperationsHandlerInterface = new ProviderOperationsHandlerInterface(); $ProviderOperationsHandlerInterface->getOperation( $operationId ): OperationInterface;
- $operationId(string) (required)
- Operation identifier.
Changelog
| Since 0.1.0 | Introduced. |
ProviderOperationsHandlerInterface::getOperation() ProviderOperationsHandlerInterface::getOperation code WP 7.0
public function getOperation(string $operationId): OperationInterface;