AbstractCollectionPersister
in package
implements
CollectionPersister
AbstractYes
Base class for all collection persisters.
Table of Contents
Interfaces
- CollectionPersister
- Define the behavior that should be implemented by all collection persisters.
Properties
- $conn : Connection
- $em : EntityManagerInterface
- $platform : AbstractPlatform
- The database platform.
- $quoteStrategy : QuoteStrategy
- $uow : UnitOfWork
Methods
- __construct() : mixed
- Initializes a new instance of a class derived from AbstractCollectionPersister.
- isValidEntityState() : bool
- Check if entity is in a valid state for operations.
Properties
$conn
protected
Connection
$conn
$em
protected
EntityManagerInterface
$em
$platform
The database platform.
protected
AbstractPlatform
$platform
$quoteStrategy
protected
QuoteStrategy
$quoteStrategy
$uow
protected
UnitOfWork
$uow
Methods
__construct()
Initializes a new instance of a class derived from AbstractCollectionPersister.
public
__construct(EntityManagerInterface $em) : mixed
Parameters
- $em : EntityManagerInterface
isValidEntityState()
Check if entity is in a valid state for operations.
protected
isValidEntityState(object $entity) : bool
Parameters
- $entity : object