UIAwesome\Model\Attribute
This content is not available in your language yet.
API reference › Model › Attribute
Classes
Section titled “Classes”| Class | Summary |
|---|---|
Cast final readonly | Forces custom casting before native property type casting. |
DefaultValue final readonly | Applies a runtime default when assigned input is null or an empty string. |
DoNotCollect final | Excludes a property from automatic type collection. |
MapFrom final readonly | Maps a model property from an explicit input key. |
NoSnakeCase final | Prevents key conversion to snake_case during array serialization. |
Timestamp final | Marks a property as a timestamp field initialized on assignment. |
Trim final | Trims leading and trailing whitespace from string input before assignment. |