Model.php 223 B

123456789101112131415
  1. <?php
  2. namespace App;
  3. use Illuminate\Database\Eloquent\Model as Eloquent;
  4. class Model extends Eloquent {
  5. /**
  6. * These fields may not be mass assigned.
  7. *
  8. * @var array
  9. */
  10. protected $guarded = ['user_id'];
  11. }