Puli\Manager\Api\Container::getRootModuleFileManager PHP Method

getRootModuleFileManager() public method

Returns the root module file manager.
public getRootModuleFileManager ( ) : Puli\Manager\Api\Module\RootModuleFileManager
return Puli\Manager\Api\Module\RootModuleFileManager The module file manager.
    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;
    }