Converters | Definition | Example |
---|---|---|
DateTimeFormat | The `DateTimeFormat` converter class is a PHP attribute that can be applied to properties in an entity class to specify the input and output formats for converting values to and from `DateTime` objects. |
#[DateValidator]
|
The Converter are PHP attribute that can be applied to properties in an entity/DTO class to specify the input and output formats for converting values to and from one data type into another.
Converters | Definition | Example |
---|---|---|
DateTimeFormat | The `DateTimeFormat` converter class is a PHP attribute that can be applied to properties in an entity class to specify the input and output formats for converting values to and from `DateTime` objects. |
#[DateValidator]
|