abstract class AbstractCollectionPersister implements CollectionPersister (View source)

Base class for all collection persisters.

Properties

protected EntityManagerInterface $em
protected Connection $conn
protected UnitOfWork $uow
protected AbstractPlatform $platform The database platform.
protected QuoteStrategy $quoteStrategy The quote strategy.

Methods

__construct(EntityManagerInterface $em)

Initializes a new instance of a class derived from AbstractCollectionPersister.

bool
isValidEntityState(object $entity)

Check if entity is in a valid state for operations.

Details

__construct(EntityManagerInterface $em)

Initializes a new instance of a class derived from AbstractCollectionPersister.

Parameters

EntityManagerInterface $em

protected bool isValidEntityState(object $entity)

Check if entity is in a valid state for operations.

Parameters

object $entity

Return Value

bool