/**
  * Create project given an input instance
  *
  * @param InputInterface $input Input
  *
  * @return Project New project instance
  */
 public function createProject(InputInterface $input)
 {
     $configFinder = new ConfigFinder();
     $configLoader = new ConfigLoader();
     /**
      * This section is just for finding the right values to work with in
      * this execution.
      *
      * $options array will have, after this block, all these values
      */
     $configPath = rtrim($input->getOption('config'), DIRECTORY_SEPARATOR);
     $configValues = $configLoader->loadConfigValues($configFinder->findConfigFile($configPath));
     $masterLanguage = $configValues['master_language'];
     $languages = $configValues['languages'];
     $filePaths = $configValues['paths'];
     return Project::create($masterLanguage, $languages, $filePaths);
 }
 /**
  * Get project
  */
 protected function getProject()
 {
     $paths = [dirname(__FILE__) . '/../../../Fixtures'];
     return Project::create('en', ['en', 'ca'], $paths);
 }