main/app/API/Finder/AbstractFinder.php
public function setObjectManager(
        ObjectManager $om,
        EntityManager $em,
        StrictDispatcher $eventDispatcher
    ) {
        $this->om = $om;
        $this->_em = $em;
        $this->eventDispatcher = $eventDispatcher;
    }
public function setObjectManager(
        ObjectManager $om,
        EntityManager $em,
        StrictDispatcher $eventDispatcher
    ) {
        $this->om = $om;
        $this->_em = $em;
        $this->eventDispatcher = $eventDispatcher;
    }
public function setObjectManager ( ObjectManager $ om , EntityManager $ em , StrictDispatcher $ eventDispatcher ) { $ this -> om = $ om ; $ this -> _em = $ em ; $ this -> eventDispatcher = $ eventDispatcher ; }
AbstractFinder constructor.

@DI\InjectParams({
"om"              = @DI\Inject("claroline.persistence.object_manager"),
"em"              = @DI\Inject("doctrine.orm.entity_manager"),
"eventDispatcher" = @DI\Inject("claroline.event.event_dispatcher")
})

@param ObjectManager    $om
@param EntityManager    $em
@param StrictDispatcher $eventDispatcher
AbstractFinder constructor .