Doctrine\ORM\PersistentCollection::__construct
Creates a new persistent collection.
Signature
public function __construct(EntityManager
$em,
ClassMetadata
$class,
$coll )
Parameters
$em
— Doctrine\ORM\EntityManager- The EntityManager the collection will be associated with.
$class
— object- The class descriptor of the entity type of this collection.
$coll
—