src/Orm.php
public function getEmitterFor($entity)
    {
        $emitter = $this->emitters->containsKey($entity)
            ? $this->emitters->get($entity)
            : $this->createEmitter($entity);
        return $emitter;
    }
public function getEmitterFor($entity)
    {
        $emitter = $this->emitters->containsKey($entity)
            ? $this->emitters->get($entity)
            : $this->createEmitter($entity);
        return $emitter;
    }
public function getEmitterFor ( $ entity ) { $ emitter = $ this -> emitters -> containsKey ( $ entity ) ? $ this -> emitters -> get ( $ entity ) : $ this -> createEmitter ( $ entity ) ; return $ emitter ; }
Gets the event emitter for provided entity

@param string $entity

@return Emitter
Gets the event emitter for provided entity