{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "# Count public methods per controller (SRP indicator)\necho \"=== PUBLIC METHODS PER CONTROLLER ===\"\nfor file in src\/Controller\/*.php; do\n name=$(basename \"$file\" .php)\n count=$(grep -c \"public function\" \"$file\" 2>\/dev\/null || echo 0)\n echo \"$name: $count public methods\"\ndone | sort -t: -k2 -rn",
"description": "Count public methods per controller"
}
}
{
"tool_response": {
"stdout": "=== PUBLIC METHODS PER CONTROLLER ===",
"stderr": "",
"interrupted": false,
"isImage": false
}
}