title: Create helper for render handlebars using php
body: <p>I have a big problem and I don't understand how to solve this.
  So I have a class for helper : </p>
  
  <pre><code>class IfCondHelper implements HelperInterface
  {
  public function execute(Template $template, HandlebarsContent $context, $args, $source)
  {
      $parsed_args = $template-&gt;parseArguments($args);
  
      if (count($parsed_args) != 3) {
          throw new \InvalidArgumentException(
              '"IfCond" helper expects exactly three arguments.'
          );
      }
  
      switch ($context-&gt;get($parsed_args[1])) {
          case "==":
              return ($context-&gt;get($parsed_args[0]) == $context-&gt;get($parsed_args[2])) ? $source : false;
              break;
  ..............
       }
  }
  </code></pre>
  
  <p>Now in my template I do : </p>
  
  <pre><code>{{#ifCond 2 '==' 2}} {{data.oUser.number}} {{/ifCond}}
  </code></pre>
  
  <p>The problem is that the template doesn't show the value of <code>data.oUser.number</code> whitch is 4 but show the code <code>data.oUser.number</code> whitout interprete them. The helper works fine, because if I do : </p>
  
  <pre><code>{{#ifCond 2 '==' 2}} &lt;p&gt;Test&lt;/p&gt; {{/ifCond}} 
  </code></pre>
  
  <p>This works fine. Can you help me please ? Thx in advance and sorry for my english</p>