/** * Store comment. * * @param CommentStoreRequest $request * * @return mixed */ public function store(CommentStoreRequest $request) { $comment = $this->comment->create($request->all()); return $this->response->withItem($comment, $this->commentTransformer); }