PHP 8.3.31
Preview: BatchFactory.php Size: 1.71 KB
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Bus/BatchFactory.php

<?php

namespace Illuminate\Bus;

use Carbon\CarbonImmutable;
use Illuminate\Contracts\Queue\Factory as QueueFactory;

class BatchFactory
{
    /**
     * The queue factory implementation.
     *
     * @var \Illuminate\Contracts\Queue\Factory
     */
    protected $queue;

    /**
     * Create a new batch factory instance.
     *
     * @param  \Illuminate\Contracts\Queue\Factory  $queue
     * @return void
     */
    public function __construct(QueueFactory $queue)
    {
        $this->queue = $queue;
    }

    /**
     * Create a new batch instance.
     *
     * @param  \Illuminate\Bus\BatchRepository  $repository
     * @param  string  $id
     * @param  string  $name
     * @param  int  $totalJobs
     * @param  int  $pendingJobs
     * @param  int  $failedJobs
     * @param  array  $failedJobIds
     * @param  array  $options
     * @param  \Carbon\CarbonImmutable  $createdAt
     * @param  \Carbon\CarbonImmutable|null  $cancelledAt
     * @param  \Carbon\CarbonImmutable|null  $finishedAt
     * @return \Illuminate\Bus\Batch
     */
    public function make(BatchRepository $repository,
                         string $id,
                         string $name,
                         int $totalJobs,
                         int $pendingJobs,
                         int $failedJobs,
                         array $failedJobIds,
                         array $options,
                         CarbonImmutable $createdAt,
                         ?CarbonImmutable $cancelledAt,
                         ?CarbonImmutable $finishedAt)
    {
        return new Batch($this->queue, $repository, $id, $name, $totalJobs, $pendingJobs, $failedJobs, $failedJobIds, $options, $createdAt, $cancelledAt, $finishedAt);
    }
}

Directory Contents

Dirs: 1 × Files: 16

Name Size Perms Modified Actions
Events DIR
- drwxrwxrwx 2025-09-17 06:53:02
Edit Download
12.46 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.76 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.71 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.26 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.33 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.72 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
998 B lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
10.79 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
7.46 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
14.94 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.05 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
9.29 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
318 B lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
7.72 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.69 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
856 B lrw-rw-rw- 2025-09-17 06:53:02
Edit Download

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