File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/laravel/framework/src/Illuminate/Queue/Events
Upload
[..]
JobAttempted.php (747 B)
Edit
Rename
Del
JobExceptionOccurred.php (456 B)
Edit
Rename
Del
JobFailed.php (464 B)
Edit
Rename
Del
JobReleasedAfterException.php (456 B)
Edit
Rename
Del
QueuePaused.php (417 B)
Edit
Rename
Del
WorkerIdle.php (453 B)
Edit
Rename
Del
WorkerResuming.php (478 B)
Edit
Rename
Del
WorkerStopping.php (517 B)
Edit
Rename
Del
Edit: JobAttempted.php
<?php namespace Illuminate\Queue\Events; class JobAttempted { /** * Create a new event instance. * * @param string $connectionName The connection name. * @param \Illuminate\Contracts\Queue\Job $job The job instance. * @param \Throwable|null $exception The exception, if one occurred while processing the job. */ public function __construct( public $connectionName, public $job, public $exception = null, ) { } /** * Determine if the job completed with failing or an unhandled exception occurring. * * @return bool */ public function successful(): bool { return ! $this->job->hasFailed() && is_null($this->exception); } }
Simpan