Clarify language regarding ArrayCollections.
See https://groups.google.com/forum/#!topic/doctrine-user/yJ8ABqBP5mI
This commit is contained in:
parent
44feacd327
commit
da43aa2d49
@ -616,12 +616,12 @@ domain model to match the requirements:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Whenever an entity is recreated from the database, an Collection
|
You use Doctrine's ArrayCollections in your Doctrine models, rather
|
||||||
implementation of the type Doctrine is injected into your entity
|
than plain PHP arrays, so that Doctrine can watch what happens with
|
||||||
instead of an array. Compared to the ArrayCollection this
|
them and act appropriately. Note that if you dump your entities,
|
||||||
implementation helps the Doctrine ORM understand the changes that
|
you'll see a "PersistentCollection" in place of your ArrayCollection,
|
||||||
have happened to the collection which are noteworthy for
|
which is just an
|
||||||
persistence.
|
internal Doctrine class with the same interface.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user