PHP 8.3.31
Preview: ChainedBatchTruthTest.php Size: 702 B
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Support/Testing/Fakes/ChainedBatchTruthTest.php

<?php

namespace Illuminate\Support\Testing\Fakes;

use Closure;

class ChainedBatchTruthTest
{
    /**
     * The underlying truth test.
     *
     * @var \Closure
     */
    protected $callback;

    /**
     * Create a new truth test instance.
     *
     * @param  \Closure  $callback
     * @return void
     */
    public function __construct(Closure $callback)
    {
        $this->callback = $callback;
    }

    /**
     * Invoke the truth test with the given pending batch.
     *
     * @param  \Illuminate\Bus\PendingBatch  $pendingBatch
     * @return bool
     */
    public function __invoke($pendingBatch)
    {
        return call_user_func($this->callback, $pendingBatch);
    }
}

Directory Contents

Dirs: 0 × Files: 13

Name Size Perms Modified Actions
3.66 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
3.55 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
25.55 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
702 B lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
11.37 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
6.64 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
78 B lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
15.66 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
11.70 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
1.03 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
1.40 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
1.18 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
14.98 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download

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