{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Framework\/Controller.php",
"limit": 100
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Framework\/Controller.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Framework;\n\n\/\/ @responsibility: Basis-Controller mit Trait-Komposition\n\nuse Framework\\Http\\CsrfTrait;\nuse Framework\\Http\\HtmxResponseTrait;\nuse Framework\\Http\\InputTrait;\nuse Framework\\Http\\ResponseTrait;\nuse Framework\\Http\\ViewTrait;\n\n\/**\n * Base controller using trait composition for better cohesion.\n *\n * Traits:\n * - CsrfTrait: CSRF token handling\n * - ResponseTrait: json(), text(), html(), download(), redirect(), notFound()\n * - HtmxResponseTrait: htmxAlert(), htmxSuccess(), htmxError(), htmxRedirect()\n * - ViewTrait: view(), partial(), flash(), consumeFlash()\n * - InputTrait: getInput(), getString(), getInt(), getPagination()\n *\/\nabstract class Controller\n{\n use CsrfTrait;\n use ResponseTrait;\n use HtmxResponseTrait;\n use ViewTrait;\n use InputTrait;\n}\n",
"numLines": 33,
"startLine": 1,
"totalLines": 33
}
}
}