, * layer: string, * paragraphs: int, * chars: int, * parent: int|null, * prev: int|null, * next: int|null, * path: array, * score?: float * } */ public function toArray($request): array { return $this->resource; } }