original_string: protected function dumpToSimpleYaml($array)
      {
          $parts = [];
  
          foreach ($array as $key => $value) {
              $parts[] = "$key: $value";
          }
  
          $yaml = implode("\n", $parts);
  
          return $yaml;
      }
code: protected function dumpToSimpleYaml($array)
      {
          $parts = [];
  
          foreach ($array as $key => $value) {
              $parts[] = "$key: $value";
          }
  
          $yaml = implode("\n", $parts);
  
          return $yaml;
      }
code_tokens: protected function dumpToSimpleYaml ( $ array ) { $ parts = [ ] ; foreach ( $ array as $ key => $ value ) { $ parts [ ] = "$key: $value" ; } $ yaml = implode ( "\n" , $ parts ) ; return $ yaml ; }
docstring: Transform an associative array to yaml.
  Not using symfony's yaml dumper for full control over the format.
  
  @param array $array
  @return string
docstring_tokens: Transform an associative array to yaml . Not using symfony s yaml dumper for full control over the format .