コード例 #1
0
ファイル: appFunctions.php プロジェクト: finelinePG/imagick
/**
 * @param JigBase $template
 * @return HtmlBody
 * @throws Exception
 * @throws \Jig\JigException
 */
function createHtmlBody(\Jig\JigBase $template)
{
    $text = $template->render();
    return new HtmlBody($text);
}
コード例 #2
0
ファイル: bootstrap.php プロジェクト: PeeHaa/Jig
function createTemplateResponse(JigBase $template)
{
    $text = $template->render();
    return new JigDemo\Response\TextResponse($text);
}
コード例 #3
0
ファイル: Tier.php プロジェクト: atawsports2/Tier
 /**
  * @param JigBase $template
  * @return HtmlBody
  * @throws \Exception
  * @throws \Jig\JigException
  */
 public static function createHtmlBody(JigBase $template)
 {
     $text = $template->render();
     return new HtmlBody($text);
 }
コード例 #4
0
 function __construct(JigBase $jigBase)
 {
     $this->text = $jigBase->render();
 }