title: How to create a custom transformer from Elastic result to Doctrine entity
body: <h1>tl;dr</h1>
  
  <p>How to extend / override the base transformer from Elastic result to Doctrine entity in FosElasticaBundle?</p>
  
  <h1>Details</h1>
  
  <p>I'd like to change the <code>transform</code> method in <code>FOS\ElasticaBundle\Doctrine\AbstractElasticaToModelTransformer</code> so that I can add a custom property to the retrieved entities. </p>
  
  <p>I tested by hacking that method, and it works exactly as I want. </p>
  
  <p>What's the best solution to override / extend that method without hacking it?</p>