Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class BinanceSocketVolumeJob implements ShouldQueue
- {
- use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
- /**
- * Create a new job instance.
- *
- * @return void
- */
- public function __construct()
- {
- $this->onQueue('volume_pusher');
- }
- /**
- * Execute the job.
- *
- * @return void
- */
- public function handle()
- {
- $volumeCompare = new VolumeCompare();
- $connectionLink = $volumeCompare->getConnectionLink(CompareModel::VOLUME_MODE);
- $volumeCompare->volumeCompareHandler($connectionLink);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement