Puli\Manager\Module\RootModuleFileManagerImpl::__construct PHP Method

__construct() public method

Creates a new module file manager.
public __construct ( Puli\Manager\Api\Context\ProjectContext $context, JsonStorage $jsonStorage )
$context Puli\Manager\Api\Context\ProjectContext The project context
$jsonStorage Puli\Manager\Json\JsonStorage The module file storage.
    public function __construct(ProjectContext $context, JsonStorage $jsonStorage)
    {
        $this->context = $context;
        $this->rootModuleFile = $context->getRootModuleFile();
        $this->jsonStorage = $jsonStorage;
    }