/**
  * Make the post response.
  *
  * @param PostInterface $post
  */
 public function make(PostInterface $post)
 {
     $post->setResponse($this->response->view('anomaly.module.posts::posts/post', ['post' => $post, 'content' => $post->getContent()]));
 }
Exemple #2
0
 /**
  * Make the post response.
  *
  * @param PostInterface $post
  */
 public function make(PostInterface $post)
 {
     $post->setResponse($this->response->view('anomaly.module.posts::posts/post', compact('post')));
 }