Define the behavior that should be implemented by all collection persisters.
| Methods | ||
|---|---|---|
public
|
delete(PersistentCollection $collection): void
|
# |
public
|
update(PersistentCollection $collection): void
|
# |
public
|
count(PersistentCollection $collection): int
|
# |
public
|
slice(PersistentCollection $collection, int $offset, int|null $length = null): mixed[]
|
# |
public
|
contains(PersistentCollection $collection, object $element): bool
|
# |
public
|
containsKey(PersistentCollection $collection, mixed $key): bool
|
# |
public
|
get(PersistentCollection $collection, mixed $index): mixed
|
# |
public
|
loadCriteria(PersistentCollection $collection, Criteria $criteria): mixed[]
|
# |