PHP 8.3.31
Preview: PendingClosureDispatch.php Size: 372 B
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Foundation/Bus/PendingClosureDispatch.php

<?php

namespace Illuminate\Foundation\Bus;

use Closure;

class PendingClosureDispatch extends PendingDispatch
{
    /**
     * Add a callback to be executed if the job fails.
     *
     * @param  \Closure  $callback
     * @return $this
     */
    public function catch(Closure $callback)
    {
        $this->job->onFailure($callback);

        return $this;
    }
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
3.05 KB lrw-rw-rw- 2025-09-17 06:52:56
Edit Download
573 B lrw-rw-rw- 2025-09-17 06:52:56
Edit Download
4.25 KB lrw-rw-rw- 2025-09-17 06:52:56
Edit Download
372 B lrw-rw-rw- 2025-09-17 06:52:56
Edit Download
4.59 KB lrw-rw-rw- 2025-09-17 06:52:56
Edit Download

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