回答編集履歴

1

コードを微修正

2017/10/16 06:56

投稿

aro10
aro10

スコア4106

test CHANGED
@@ -78,7 +78,7 @@
78
78
 
79
79
  $template = Template::first(); #contentプロパティにテンプレート用データのあるモデルデータ
80
80
 
81
- return DbView::make($template)->with(['foo' => 'Bar'])->render();
81
+ $text = DbView::make($template)->with(['foo' => 'Bar'])->render();
82
82
 
83
83
  ```
84
84