Przejdź do głównej zawartości
PHP Ecosystem
Explore

UIAwesome\Model\Attribute

Ta treść nie jest jeszcze dostępna w Twoim języku.

API reference › Model › Attribute

ClassSummary
Cast final readonlyForces custom casting before native property type casting.
DefaultValue final readonlyApplies a runtime default when assigned input is null or an empty string.
DoNotCollect finalExcludes a property from automatic type collection.
MapFrom final readonlyMaps a model property from an explicit input key.
NoSnakeCase finalPrevents key conversion to snake_case during array serialization.
Timestamp finalMarks a property as a timestamp field initialized on assignment.
Trim finalTrims leading and trailing whitespace from string input before assignment.