File manager - Edit - /home/autoph/public_html/projects/vendor/laravel/framework/src/Illuminate/Queue/Events/JobAttempted.php
Back
<?php namespace Illuminate\Queue\Events; class JobAttempted { /** * The connection name. * * @var string */ public $connectionName; /** * The job instance. * * @var \Illuminate\Contracts\Queue\Job */ public $job; /** * Indicates if an exception occurred while processing the job. * * @var bool */ public $exceptionOccurred; /** * Create a new event instance. * * @param string $connectionName * @param \Illuminate\Contracts\Queue\Job $job * @param bool $exceptionOccurred * @return void */ public function __construct($connectionName, $job, $exceptionOccurred = false) { $this->job = $job; $this->connectionName = $connectionName; $this->exceptionOccurred = $exceptionOccurred; } /** * Determine if the job completed with failing or an unhandled exception occurring. * * @return bool */ public function successful(): bool { return ! $this->job->hasFailed() && ! $this->exceptionOccurred; } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings