{
"event": "PostToolUse",
"tool_name": "Read",
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Framework\/Controller.php",
"content": " *\/\n protected function getOffset(int $limit): int\n {\n return ($this->getPage() - 1) * $limit;\n }\n\n \/**\n * Create Pagination from request parameters.\n * This keeps HTTP-related code in Infrastructure (Controller) layer.\n *\/\n protected function getPagination(int $defaultLimit = 50, int $maxLimit = 100): \\Domain\\ValueObject\\Pagination\n {\n $page = $this->getPage();\n $limit = $this->getLimit($maxLimit, $defaultLimit);\n\n return \\Domain\\ValueObject\\Pagination::create($page, $limit, $maxLimit);\n }\n}\n",
"numLines": 19,
"startLine": 310,
"totalLines": 328
}
}
}