src/Robo/Commands/Setup/WizardCommand.php
protected function loadRecipeFile($filename) {
    if (!file_exists($filename)) {
      throw new FileNotFoundException($filename);
    }
    $recipe = Yaml::parse(
      file_get_contents($filename)
    );
    $configs = [$recipe];
    $processor = new Processor();
    $configuration_tree = new ProjectConfiguration();
    $processed_configuration = $processor->processConfiguration(
      $configuration_tree,
      $configs
    );

    return $processed_configuration;
  }
protected function loadRecipeFile($filename) {
    if (!file_exists($filename)) {
      throw new FileNotFoundException($filename);
    }
    $recipe = Yaml::parse(
      file_get_contents($filename)
    );
    $configs = [$recipe];
    $processor = new Processor();
    $configuration_tree = new ProjectConfiguration();
    $processed_configuration = $processor->processConfiguration(
      $configuration_tree,
      $configs
    );

    return $processed_configuration;
  }
protected function loadRecipeFile ( $ filename ) { if ( ! file_exists ( $ filename ) ) { throw new FileNotFoundException ( $ filename ) ; } $ recipe = Yaml :: parse ( file_get_contents ( $ filename ) ) ; $ configs = [ $ recipe ] ; $ processor = new Processor ( ) ; $ configuration_tree = new ProjectConfiguration ( ) ; $ processed_configuration = $ processor -> processConfiguration ( $ configuration_tree , $ configs ) ; return $ processed_configuration ; }
Load a recipe.

@param string $filename
The recipe filename.

@return array
Load a recipe .