original_string: protected function buildPayload($notifiable, Notification $notification)
      {
          return [
              'id' => $notification->id,
              'type' => get_class($notification),
              'data' => $this->getData($notifiable, $notification),
              'read_at' => null,
          ];
      }
code: protected function buildPayload($notifiable, Notification $notification)
      {
          return [
              'id' => $notification->id,
              'type' => get_class($notification),
              'data' => $this->getData($notifiable, $notification),
              'read_at' => null,
          ];
      }
code_tokens: protected function buildPayload ( $ notifiable , Notification $ notification ) { return [ 'id' => $ notification -> id , 'type' => get_class ( $ notification ) , 'data' => $ this -> getData ( $ notifiable , $ notification ) , 'read_at' => null , ] ; }
docstring: Build an array payload for the DatabaseNotification Model.
  
  @param  mixed  $notifiable
  @param  \Illuminate\Notifications\Notification  $notification
  @return array
docstring_tokens: Build an array payload for the DatabaseNotification Model .