home
/
zktecojo
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Queue
/
Jobs
➕ New
📤 Upload
✎ Editing:
SyncJob.php
← Back
<?php namespace Illuminate\Queue\Jobs; use Closure; use Illuminate\Container\Container; class SyncJob extends Job { /** * The class name of the job. * * @var string */ protected $job; /** * The queue message data. * * @var string */ protected $data; /** * Create a new job instance. * * @param \Illuminate\Container\Container $container * @param string $job * @param string $data * @return void */ public function __construct(Container $container, $job, $data = '') { $this->job = $job; $this->data = $data; $this->container = $container; } /** * Fire the job. * * @return void */ public function fire() { $data = json_decode($this->data, true); if ($this->job instanceof Closure) { call_user_func($this->job, $this, $data); } else { $this->resolveAndFire(array('job' => $this->job, 'data' => $data)); } } /** * Get the raw body string for the job. * * @return string */ public function getRawBody() { // } /** * Release the job back into the queue. * * @param int $delay * @return void */ public function release($delay = 0) { // } /** * Get the number of times the job has been attempted. * * @return int */ public function attempts() { return 1; } /** * Get the job identifier. * * @return string */ public function getJobId() { return ''; } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel