PHP 8.3.31
Preview: InvokeQueuedClosure.php Size: 876 B
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Events/InvokeQueuedClosure.php

<?php

namespace Illuminate\Events;

use Illuminate\Support\Collection;

class InvokeQueuedClosure
{
    /**
     * Handle the event.
     *
     * @param  \Laravel\SerializableClosure\SerializableClosure  $closure
     * @param  array  $arguments
     * @return void
     */
    public function handle($closure, array $arguments)
    {
        call_user_func($closure->getClosure(), ...$arguments);
    }

    /**
     * Handle a job failure.
     *
     * @param  \Laravel\SerializableClosure\SerializableClosure  $closure
     * @param  array  $arguments
     * @param  array  $catchCallbacks
     * @param  \Throwable  $exception
     * @return void
     */
    public function failed($closure, array $arguments, array $catchCallbacks, $exception)
    {
        $arguments[] = $exception;

        (new Collection($catchCallbacks))->each->__invoke(...$arguments);
    }
}

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
3.80 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.01 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
21.87 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
761 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
362 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
876 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.05 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
3.04 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
2.74 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download

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