{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Entity\/Task.php",
"offset": 173,
"limit": 20
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Entity\/Task.php",
"content": " $this->metadata = is_string($data['metadata']) ? json_decode($data['metadata'], true) ?? [] : $data['metadata'];\n }\n\n return $this;\n }\n\n private function toDateTime(\\DateTimeImmutable|string $value): \\DateTimeImmutable\n {\n return $value instanceof \\DateTimeImmutable ? $value : new \\DateTimeImmutable($value);\n }\n\n \/** @return array<string, mixed> *\/\n public function toArray(): array\n {\n return [\n 'id' => $this->id, 'uuid' => $this->uuid, 'title' => $this->title,\n 'description' => $this->description, 'type' => $this->type->value,\n 'status' => $this->status->value, 'created_by' => $this->createdBy,\n 'created_by_type' => $this->createdByType, 'parent_task_id' => $this->parentTaskId,\n 'due_date' => $this->dueDate?->format('Y-m-d H:i:s'),",
"numLines": 20,
"startLine": 173,
"totalLines": 211
}
}
}