よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public function all() { $comment = array(); $data = $this->repository->with([])->all(); foreach ($data as $comments) { $comment[] = $this->transform($comments); } return $comment; }