Skip to content

Glossary: Laravel

Attribute

Also written: PHP attribute, #[Fillable], attributes

A note written as #[...] on a class that a framework can read. Eloquent reads #[Fillable([...])] to learn which columns may be mass assigned.

Where the book teaches it

Related terms

Mass assignmentModel