Advertisement
Vaksel

Untitled

Jun 29th, 2021
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. class BinanceSocketVolumeJob implements ShouldQueue
  2. {
  3. use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
  4.  
  5. /**
  6. * Create a new job instance.
  7. *
  8. * @return void
  9. */
  10. public function __construct()
  11. {
  12. $this->onQueue('volume_pusher');
  13. }
  14.  
  15. /**
  16. * Execute the job.
  17. *
  18. * @return void
  19. */
  20. public function handle()
  21. {
  22. $volumeCompare = new VolumeCompare();
  23.  
  24. $connectionLink = $volumeCompare->getConnectionLink(CompareModel::VOLUME_MODE);
  25.  
  26. $volumeCompare->volumeCompareHandler($connectionLink);
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement