Skip to content

Guarded fields #20

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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