{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Task\/SaveTaskResultUseCase.php",
"limit": 25
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Task\/UpdateTaskStatusUseCase.php",
"content": "<?php\n\nnamespace UseCases\\Task;\n\nuse Domain\\Entity\\Task;\nuse Domain\\Entity\\TaskComment;\nuse Domain\\ValueObject\\TaskStatus;\nuse Infrastructure\\Persistence\\TaskCommentRepository;\nuse Infrastructure\\Persistence\\TaskRepository;\n\nclass UpdateTaskStatusUseCase\n{\n private TaskRepository $taskRepository;\n private TaskCommentRepository $commentRepository;\n\n public function __construct(\n ?TaskRepository $taskRepository = null,\n ?TaskCommentRepository $commentRepository = null\n ) {\n $this->taskRepository = $taskRepository ?? new TaskRepository();\n $this->commentRepository = $commentRepository ?? new TaskCommentRepository();\n }\n\n public function execute(int $taskId, string $newStatus, string $updatedBy, string $updatedByType = 'human'): Task\n {",
"numLines": 25,
"startLine": 1,
"totalLines": 75
}
}
}