title: Symfony2 Templating without request
body: <p>I'm trying to send an email from a <code>ContainerAwareCommand</code> in Symfony2. But I get this exception when the email template is render by:</p>
  
  <pre><code>$body = $this-&gt;templating-&gt;render($template, $data);
  </code></pre>
  
  <p><strong>Exception</strong>:</p>
  
  <pre><code> ("You cannot create a service ("templating.helper.assets") of an inactive scope ("request").") 
  </code></pre>
  
  <p>I found in github that this helper need the request object. Anybody knows how can I to instance the Request object?</p>