title: Symfony YAML Dumper - How to print double quotes
body: <p>I'm using the YAML component from Symfony to print(dump) a php array in to a yaml file.</p>
  
  <pre><code>$config["hosts"] = "";
  $dumper = new Dumper();
  $yaml = $dumper-&gt;dump($config, 2);
  file_put_contents($file, $yaml);
  </code></pre>
  
  <p>On the yaml file I need to see something like:</p>
  
  <pre><code>hosts: ""
  </code></pre>
  
  <p>Instead it prints out as </p>
  
  <pre><code>hosts: ''
  </code></pre>
  
  <p>How can I print the double quotes without a string? I took a look into <a href="http://api.symfony.com/2.7/Symfony/Component/Yaml/Escaper.html" rel="nofollow">http://api.symfony.com/2.7/Symfony/Component/Yaml/Escaper.html</a> but this requires a string.</p>