/** * Make the view content. * * @param PostInterface $p */ public function make(PostInterface $post) { $post->setContent($this->view->make($post->getLayoutViewPath(), compact('post'))->render()); }