Doctrine\ORM\PersistentCollection::hydrateAdd
INTERNAL: Adds an element to a collection during hydration. This will automatically complete bidirectional associations in the case of a one-to-many association.
Signature
public function hydrateAdd(mixed
$element )
Parameters
$element
— mixed- The element to add.