Skip to content

Guarded fields #20

@hkdobrev

Description

@hkdobrev

Eloquent ORM has a nice feature - guarded fields in a model.

Their purpose is to prevent some fields to be set by mass assignment.

A nice usage of this would be to protect the primary key, password fields and others to be mass assigned.

There is a an example here: http://four.laravel.com/docs/eloquent

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions