adspace
Answer Posted / Vibhuti Pandey
In Laravel, a guarded attribute is a column that is protected from mass assignment. This means that when creating or updating a model instance, the values for these columns cannot be set through the fillable array. By default, all attributes are guarded, but you can override this by defining the $guarded property in your model.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers