code: function () {
    var composerLockPath = path.resolve(process.cwd(), 'composer.lock');
    var composerJsonPath = path.resolve(process.cwd(), 'composer.json');
  
    if (isUsingComposerLock === null) {
      if (fs.existsSync(composerLockPath)) {
        logger.logInfo('[composer] using composer.lock instead of composer.json');
        isUsingComposerLock = true;
      }  else {
        isUsingComposerLock = false;
      }
    }
  
    return isUsingComposerLock ? composerLockPath : composerJsonPath;
  }
docs: Returns path to configuration file for composer. Uses composer.lock if it exists; otherwise, defaults to composer.json