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