{
"event": "PreToolUse",
"tool_name": "Write",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/ValueObject\/MappingSource.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\ValueObject;\n\n\/\/ @responsibility: Quelle eines Taxonomie-Mappings (automatisch vs. manuell)\n\nenum MappingSource: string\n{\n case AUTO = 'auto';\n case MANUAL = 'manual';\n\n public function isAutomatic(): bool\n {\n return $this === self::AUTO;\n }\n\n public function isManual(): bool\n {\n return $this === self::MANUAL;\n }\n\n public function label(): string\n {\n return match ($this) {\n self::AUTO => 'Automatisch',\n self::MANUAL => 'Manuell',\n };\n }\n}\n"
}
}
{
"tool_response": {
"type": "create",
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/ValueObject\/MappingSource.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\ValueObject;\n\n\/\/ @responsibility: Quelle eines Taxonomie-Mappings (automatisch vs. manuell)\n\nenum MappingSource: string\n{\n case AUTO = 'auto';\n case MANUAL = 'manual';\n\n public function isAutomatic(): bool\n {\n return $this === self::AUTO;\n }\n\n public function isManual(): bool\n {\n return $this === self::MANUAL;\n }\n\n public function label(): string\n {\n return match ($this) {\n self::AUTO => 'Automatisch',\n self::MANUAL => 'Manuell',\n };\n }\n}\n",
"structuredPatch": [],
"originalFile": null
}
}