PHP 8.3.31
Preview: JobAttempted.php Size: 1.08 KB
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Queue/Events/JobAttempted.php

<?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;
    }
}

Directory Contents

Dirs: 0 × Files: 15

Name Size Perms Modified Actions
1.08 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
787 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
795 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
596 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
391 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
589 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
590 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
1.39 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
1.25 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
602 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
717 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
588 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
542 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
674 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
621 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).