{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Formatter\/DateFormatter.php",
"limit": 25
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Validation\/ValidationResult.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Infrastructure\\Validation;\n\n\/**\n * Value Object for validation results.\n *\n * Provides a type-safe way to return validation outcomes with optional\n * error messages and additional data. Immutable by design.\n *\n * @package Infrastructure\\Validation\n *\/\nfinal readonly class ValidationResult\n{\n \/**\n * @param bool $valid Whether validation passed\n * @param string|null $error Error message if validation failed\n * @param mixed $data Additional data (e.g., validated value)\n *\/\n private function __construct(\n public bool $valid,\n public ?string $error,\n public mixed $data = null",
"numLines": 25,
"startLine": 1,
"totalLines": 81
}
}
}