public function getEmitterFor($entity)
    {
        $emitter = $this->emitters->containsKey($entity)
            ? $this->emitters->get($entity)
            : $this->createEmitter($entity);
        return $emitter;
    }