public function __construct(BaseCollection $coll, DocumentManager $dm, Configuration $c) { $this->coll = $coll; $this->dm = $dm; $this->cmd = $c->getMongoCmd(); }