src/Robo/Commands/Generate/ConfigSplitCommand.php
protected function writeSplitConfig($file_path, $config) {
    $result = $this->taskWriteToFile($file_path)
      ->text($config)
      ->run();
    if (!$result) {
      throw new BltException("Unable to write $file_path.");
    }
  }
protected function writeSplitConfig($file_path, $config) {
    $result = $this->taskWriteToFile($file_path)
      ->text($config)
      ->run();
    if (!$result) {
      throw new BltException("Unable to write $file_path.");
    }
  }
protected function writeSplitConfig ( $ file_path , $ config ) { $ result = $ this -> taskWriteToFile ( $ file_path ) -> text ( $ config ) -> run ( ) ; if ( ! $ result ) { throw new BltException ( "Unable to write $file_path." ) ; } }
Write the config_split configuration YAML file in the given directory.

@param string $file_path
The path where the file should be written.
@param string $config
The config file contents.
Write the config_split configuration YAML file in the given directory .