public function __construct(DocumentManager $dm, UnitOfWork $uow, $cmd) { $this->dm = $dm; $this->uow = $uow; $this->cmd = $cmd; }