public function getRootModuleFileManager()
{
if (!$this->started) {
throw new LogicException('Puli was not started');
}
if (!$this->rootModuleFileManager && $this->context instanceof ProjectContext) {
$this->rootModuleFileManager = new RootModuleFileManagerImpl($this->context, $this->getJsonStorage());
}
return $this->rootModuleFileManager;
}