{
"event": "PreToolUse",
"tool_name": "Grep",
"tool_input": {
"pattern": "function get(String|Int|Page|Limit|Bool)",
"path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Framework\/Controller.php",
"output_mode": "content",
"-A": 5
}
}
{
"tool_response": {
"mode": "content",
"numFiles": 0,
"filenames": [],
"content": "137: protected function getString(string $key, string $default = ''): string\n138- {\n139- $value = $this->getInput($key, $default);\n140-\n141- return is_string($value) ? trim($value) : $default;\n142- }\n--\n147: protected function getInt(string $key, int $default = 0): int\n148- {\n149- return (int) ($this->getInput($key, $default));\n150- }\n151-\n152- \/**\n--\n155: protected function getPage(): int\n156- {\n157- return max(1, $this->getInt('page', 1));\n158- }\n159-\n160- \/**\n--\n163: protected function getLimit(int $max = 50, int $default = 10): int\n164- {\n165- return min($max, max(1, $this->getInt('limit', $default)));\n166- }\n167-\n168- \/**",
"numLines": 27
}
}