{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Config\/ConfigResult.php"
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Config\/ConfigResult.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace UseCases\\Config;\n\n\/\/ @responsibility: Ergebnisobjekt für Config-Operationen\n\nfinal class ConfigResult\n{\n private function __construct(\n public readonly bool $success,\n public readonly ?int $id,\n public readonly string $message,\n ) {\n }\n\n public static function success(int $id, string $message): self\n {\n return new self(true, $id, $message);\n }\n\n public static function error(string $message): self\n {\n return new self(false, null, $message);\n }\n}\n",
"numLines": 28,
"startLine": 1,
"totalLines": 28
}
}
}