, * paragraphs: int, * occurrences: int * } */ public function toArray(Request $request): array { return [ 'book_id' => $this['book_id'], 'book' => $this['book'], 'para' => $this['para'], 'title' => $this['title'], 'layer' => $this['layer'], 'tags' => $this['tags'], 'paragraphs' => $this['paragraphs'], 'occurrences' => $this['occurrences'], ]; } }