コード例 #1
0
ファイル: PostContent.php プロジェクト: ramcda/posts-module
 /**
  * Make the view content.
  *
  * @param PostInterface $p
  */
 public function make(PostInterface $post)
 {
     $post->setContent($this->view->make($post->getLayoutViewPath(), compact('post'))->render());
 }