Skip to content

Model Configuration

protectedProperties()

protectedProperties() — returns void

Available in: model Category: Miscellaneous Functions

Use this method to specify which properties cannot be set through mass assignment.

NameTypeRequiredDefaultDescription
propertiesstringnoProperty name (or list of property names) that are not allowed to be altered through mass assignment.