title: Condition (if, else, else if) in YAML
body: <p>I use hautelook/AliceBundle to create faker data in YAML, but I would for more consistency of data.</p>
  
  <p>I would like that:</p>
  
  <pre><code>gender: &lt;randomElement(['Homme', 'Femme'])&gt;
  if $gender == 'Homme'
      title: 'Monsieur'
  else if $gender == 'Femme'
      title: 'Madame'
  </code></pre>
  
  <p>I know it's not directly possible in YAML, but I do not know which plugin to use... And how to.</p>
  
  <p>My tools/languages used in my project (Symfony, hautelook/AliceBundle, PHP, YAML)</p>