2016-02-11 39 views

回答

2

你可以用小樹枝render方法將返回輸出處理模板

$output = $app['twig']->render('path/to/template', $vars);