title: Is it possible to render custom view (just custom .phtml) template with Phalcon\Mvc\View?
body: <p>I need to render email templates in variable to send them later (which are stored in .phtml files), and i really don't want to implement my special class for handling this.</p>
  
  <p>Is it possible to render not controller action view, but custom one?</p>
  
  <p>I tried following code, but it outputs NULL :((</p>
  
  <pre><code>// Controller context
  $view = new Phalcon\Mvc\View();
  $view-&gt;setViewsDir('app/views/');
  $view-&gt;setVar('var1', 'var2');
  // Setting some vars...
  $view-&gt;start();
  $view-&gt;partial($emailTemplatePath);
  $view-&gt;finish();
  $result = $view-&gt;getContent();
  var_dump($result); // Gives null
  </code></pre>