public function toArray() { return ['path' => $this->filePath, 'lines' => ['begin' => $this->lineStart, 'end' => $this->lineStart]]; }