Model::unguard() does temporarily disable the mass assignment protection of the model, so you can seed all model properties.
Take a look at http://laravel.com/docs/5.1/eloquent#mass-assignment for more information about mass assignment in Eloquent.
Model::unguard() does temporarily disable the mass assignment protection of the model, so you can seed all model properties.
Take a look at http://laravel.com/docs/5.1/eloquent#mass-assignment for more information about mass assignment in Eloquent.