interface PersistentCollectionFactory (View source)

Interface for persistent collection classes factory.

Methods

create(DocumentManager $dm, array $mapping, Collection|null $coll = null)

Creates specified persistent collection to work with given collection class.

Details

create(DocumentManager $dm, array $mapping, Collection|null $coll = null)

Creates specified persistent collection to work with given collection class.

Parameters

DocumentManager $dm
array $mapping
Collection|null $coll