AbstractCollectionPersister
public abstract class AbstractCollectionPersister
Field Summary | |
---|---|
protected Doctrine\DBAL\Connection | |
protected EntityManager | |
protected Doctrine\ORM\UnitOfWork |
Constructor Summary | |
---|---|
AbstractCollectionPersister(Doctrine\ORM\EntityManager em) Initializes a new instance of a class derived from AbstractCollectionPersister. |
Method Summary | |
---|---|
void | delete(PersistentCollection coll) Deletes the persistent state represented by the given collection. |
void | deleteRows(mixed coll) |
void | insertRows(mixed coll) |
void | update(PersistentCollection coll) Updates the given collection, synchronizing it's state with the database by inserting, updating and deleting individual elements. |
protected Doctrine\DBAL\Connection $_conn
protected EntityManager $_em
protected Doctrine\ORM\UnitOfWork $_uow
public AbstractCollectionPersister(Doctrine\ORM\EntityManager em)
Initializes a new instance of a class derived from AbstractCollectionPersister.
public void delete(PersistentCollection coll)
Deletes the persistent state represented by the given collection.
public void deleteRows(mixed coll)
public void insertRows(mixed coll)
public void update(PersistentCollection coll)
Updates the given collection, synchronizing it's state with the database by inserting, updating and deleting individual elements.
Base class for all collection persisters.