{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ContractController.php",
"limit": 25
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ContentController.php",
"content": "<?php\n\nnamespace Controller;\n\nuse Application\\ContentCollectionService;\nuse Framework\\Controller;\nuse Infrastructure\\AI\\ModelConfig;\nuse Infrastructure\\Persistence\\CollectionRepository;\nuse Infrastructure\\Persistence\\ContentRepository;\nuse Infrastructure\\Validation\\CollectionValidator;\nuse UseCases\\Command\\CreateContentOrderCommand;\nuse UseCases\\Command\\GenerateContentCommand;\nuse UseCases\\Content\\GenerateContentUseCase;\n\nclass ContentController extends Controller\n{\n private ContentRepository $repository;\n private ContentCollectionService $collectionService;\n private GenerateContentUseCase $generateUseCase;\n\n public function __construct()\n {\n $this->repository = new ContentRepository();\n $collectionRepo = new CollectionRepository();\n $this->collectionService = new ContentCollectionService(\n $collectionRepo,\n new CollectionValidator($collectionRepo)\n );\n $this->generateUseCase = new GenerateContentUseCase();\n }\n\n \/**\n * GET \/content - List all content orders\n *\/\n public function index(): void",
"numLines": 35,
"startLine": 1,
"totalLines": 287
}
}
}