public function setObjectManager(ObjectManager $om, $rootDir)
    {
        $this->om = $om;
        $this->rootDir = $rootDir.'/..';
        $this->baseUri = 'https://github.com/claroline/Distribution/tree/master';
    }