< Doctrine DBAL and ORM

Persisting Entities in Doctrine ORM

Doctrine

Show in app

Description

Persisting entities in the Doctrine ORM framework and reflecting these updates in the persistence layer (e.g.: database).

Goals

I know

  • how to create a graph of entities
  • the persist method of the entity manager is used to make the ORM aware of a graph
  • the flush method of the entity manager is used to flush that graph to the database

I can

  • create a graph of entities and persist it
  • update an existing entity in PHP and reflect the changes in the database

Maintainer

Grégoire Paris Doctrine