Methods |
public
|
getContext(): SyncContextInterface
|
#
|
public
|
getProviderId(): int
Get the provider ID assigned to the backend instance by its entity store
Get the provider ID assigned to the backend instance by its entity store
Implemented by
|
#
|
public
|
getDefinition<T is SyncEntityInterface>(class-string<T> $entity): SyncDefinitionInterface<T, $this>
Get the provider's implementation of sync operations for an entity
Get the provider's implementation of sync operations for an entity
Implemented by
|
#
|
public
|
getFilterPolicy(): FilterPolicy::*|null
Get the provider's default unclaimed filter policy
Get the provider's default unclaimed filter policy
Implemented by
|
#
|
public
|
isValidIdentifier(int|string $id, class-string<SyncEntityInterface> $entity): bool
True if a value is of the correct type and format to be an entity ID
True if a value is of the correct type and format to be an entity ID
Implemented by
|
#
|
public
|
getStore(): SyncStoreInterface
Get the provider's entity store
Get the provider's entity store
Implemented by
|
#
|
public
|
with<T is SyncEntityInterface>(
class-string<T> $entity,
?SyncContextInterface $context = null,
): SyncEntityProviderInterface<T>
Use an entity-agnostic interface to the provider's implementation of sync
operations for an entity
Use an entity-agnostic interface to the provider's implementation of sync
operations for an entity
Implemented by
|
#
|
public
|
runOperation<T, TOutput is iterable<T>|T>(SyncContextInterface $context, Closure(): TOutput $operation): TOutput
Perform a sync operation after validating its context
Perform a sync operation after validating its context
Implemented by
|
#
|
public
|
filterOperationOutput<T is SyncEntityInterface, TOutput is iterable<T>|T>(
SyncContextInterface $context,
TOutput $output,
): TOutput
Filter the output of a sync operation if required by its context
Filter the output of a sync operation if required by its context
Implemented by
|
#
|