You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add core attribute, contract, and exception classes for transformer
- Implemented `Transform` attribute in `src/Attribute/Transform.php`:
- Extends `BaseProcessorAttribute` to mark properties for transformation processing.
- Defined `TransformationResult` interface in `src/Contract/TransformationResult.php`:
- Provides contract methods for result validation, error handling, and transformed data retrieval.
- Created `TransformerException` in `src/Exception/TransformerException.php`:
- Extends `AbstractException` to handle transformer-specific errors.
- Added methods `invalidInput`, `invalidFormat`, and `invalidType` with detailed error codes and messages for input type, format, and type validation.
0 commit comments