I tried to generate mail body with view.
$view = new \Phalcon\Mvc\View\Simple();
//registerEngines
$view->registerEngines(['.volt' => 'volt',]);
//setViewsDir
$viewSrc->setViewsDir('/someDir/');
//render /someDir/mailBody.volt
$mailBody = $view->render('mailBody');
but $mailBody is null.
In smarty.
$mailBody = $smarty->fetch('mailBody.tpl');
What should I do in phalcon?