{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/SemanticExplorerController.php",
"offset": 210,
"limit": 30
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/SemanticExplorerController.php",
"content": " * GET \/semantic-explorer\/semantik\n * Semantische Analyse pro Chunk\n *\/\n public function semantik(): void\n {\n $sentiment = $this->getString('sentiment');\n $pagination = $this->getPagination(50);\n\n $totalCount = $this->repository->getSemanticsCount($sentiment);\n $semantics = $this->repository->getSemanticsFiltered($sentiment, $pagination->limit, $pagination->offset);\n $pagination = $pagination->withTotal($totalCount);\n\n \/\/ JSON dekodieren\n foreach ($semantics as &$s) {\n $s['keywords_decoded'] = $this->decodeJson($s['keywords'] ?? null);\n $s['topics_decoded'] = $this->decodeJson($s['topics'] ?? null);\n }\n\n $stats = $this->repository->getSemanticStats();\n\n $this->view('semantic-explorer.semantik', [\n 'title' => 'Semantik',\n 'semantics' => $semantics,\n 'stats' => $stats,\n 'currentSentiment' => $sentiment,\n 'currentPage' => $pagination->page,\n 'totalCount' => $pagination->totalCount,\n 'totalPages' => $pagination->totalPages(),\n ]);\n }",
"numLines": 30,
"startLine": 210,
"totalLines": 241
}
}
}