InMemorySearchAttributeInvocationCache
in package
implements
SearchAttributeInvocationCacheInterface
FinalYes
Table of Contents
Interfaces
Properties
- $upserts : array<string, array{operation: string, type: string, value?: mixed}>
Methods
- all() : array<string, array{operation: string, type: string, value?: mixed}>
- clear() : void
- getUpsert() : array{operation: string, type: string, value?: mixed}|null
- recordUpsert() : void
- wasUpserted() : bool
Properties
$upserts
private
array<string, array{operation: string, type: string, value?: mixed}>
$upserts
= []
Methods
all()
public
all() : array<string, array{operation: string, type: string, value?: mixed}>
Return values
array<string, array{operation: string, type: string, value?: mixed}>clear()
public
clear() : void
getUpsert()
public
getUpsert(string $name) : array{operation: string, type: string, value?: mixed}|null
Parameters
- $name : string
Return values
array{operation: string, type: string, value?: mixed}|nullrecordUpsert()
public
recordUpsert(string $name, array<string|int, mixed> $entry) : void
Parameters
- $name : string
- $entry : array<string|int, mixed>
wasUpserted()
public
wasUpserted(string $name) : bool
Parameters
- $name : string