/**
  * Overwrite the parent boot method
  *
  * @return void
  */
 public static function boot()
 {
     parent::boot();
     DespatchLogEntry::creating(function ($despatchLogEntry) {
         $despatchLogEntry->created_by = \Auth::user()->id;
         $despatchLogEntry->updated_by = \Auth::user()->id;
     });
     DespatchLogEntry::updating(function ($despatchLogEntry) {
         $despatchLogEntry->updated_by = \Auth::user()->id;
     });
 }