{
"event": "PostToolUse",
"raw_data": {
"session_id": "f0f145c4-ac1d-417a-b15b-271983ae648b",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/f0f145c4-ac1d-417a-b15b-271983ae648b.jsonl",
"cwd": "\/var\/www\/dev.campus.systemische-tools.de",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Persistence\/Connection.php"
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Persistence\/Connection.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Infrastructure\\Persistence;\n\n\/\/ @responsibility: Legacy-Wrapper für Datenbankverbindung (deprecated)\n\nuse Infrastructure\\Config\\DatabaseFactory;\n\nclass Connection\n{\n public static function getInstance(): \\PDO\n {\n return DatabaseFactory::dev();\n }\n}\n",
"numLines": 18,
"startLine": 1,
"totalLines": 18
}
},
"tool_use_id": "toolu_01Xu9fQs78iw7cYzg1JWSJHo"
}
}