{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/services.php",
"limit": 50
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/services.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\n\/\/ @responsibility: Bootstrap DI container using modular ServiceProviders\n\n\/**\n * Service Definitions for DI Container.\n *\n * All repositories and services are registered via ServiceProviders\n * to ensure proper separation of concerns by bounded context.\n *\n * @param Framework\\Container $container\n *\/\n\nuse Framework\\Container;\nuse Infrastructure\\Config\\DatabaseFactory;\nuse ServiceProvider\\ChatServiceProvider;\nuse ServiceProvider\\ContentServiceProvider;\nuse ServiceProvider\\InfrastructureServiceProvider;\nuse ServiceProvider\\TaskServiceProvider;\n\n\/\/ NOTE: UseCases are NOT explicitly registered here.\n\/\/ They are resolved via Container::autowire() automatically.\n\/\/ Only register: Interfaces, Services with special config, Repositories.\n\nreturn function (Container $container): void {\n \/\/ =========================================================================\n \/\/ DATABASE CONNECTIONS\n \/\/ =========================================================================\n\n \/\/ ki_dev database connection\n $container->set('pdo.dev', fn () => DatabaseFactory::dev());\n\n \/\/ ki_content database connection\n $container->set('pdo.content', fn () => DatabaseFactory::content());\n\n \/\/ =========================================================================\n \/\/ SERVICE PROVIDERS - Modular Registration by Bounded Context\n \/\/ =========================================================================\n\n $providers = [\n new ChatServiceProvider(),\n new TaskServiceProvider(),\n new ContentServiceProvider(),\n new InfrastructureServiceProvider(),\n ];\n\n foreach ($providers as $provider) {\n $provider->register($container);",
"numLines": 50,
"startLine": 1,
"totalLines": 53
}
}
}