{
"event": "PreToolUse",
"tool_name": "Write",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/TaskCommentRepositoryInterface.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\Repository;\n\n\/\/ @responsibility: Contract für Task-Kommentare-Persistenz\n\nuse Domain\\Entity\\TaskComment;\n\ninterface TaskCommentRepositoryInterface\n{\n public function find(int $id): ?TaskComment;\n\n \/**\n * @return array<TaskComment>\n *\/\n public function findByTaskId(int $taskId, int $limit = 50): array;\n\n \/**\n * @return array<TaskComment>\n *\/\n public function findByType(int $taskId, string $commentType): array;\n\n public function save(TaskComment $comment): int;\n\n public function delete(int $id): bool;\n}\n"
}
}
{
"tool_response": {
"type": "create",
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/TaskCommentRepositoryInterface.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\Repository;\n\n\/\/ @responsibility: Contract für Task-Kommentare-Persistenz\n\nuse Domain\\Entity\\TaskComment;\n\ninterface TaskCommentRepositoryInterface\n{\n public function find(int $id): ?TaskComment;\n\n \/**\n * @return array<TaskComment>\n *\/\n public function findByTaskId(int $taskId, int $limit = 50): array;\n\n \/**\n * @return array<TaskComment>\n *\/\n public function findByType(int $taskId, string $commentType): array;\n\n public function save(TaskComment $comment): int;\n\n public function delete(int $id): bool;\n}\n",
"structuredPatch": [],
"originalFile": null
}
}