REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 1.10 KB
Close
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Support/Defer/DeferredCallback.php
Text
Base64
<?php namespace Illuminate\Support\Defer; use Illuminate\Support\Str; class DeferredCallback { /** * Create a new deferred callback instance. * * @param callable $callback * @return void */ public function __construct(public $callback, public ?string $name = null, public bool $always = false) { $this->name = $name ?? (string) Str::uuid(); } /** * Specify the name of the deferred callback so it can be cancelled later. * * @param string $name * @return $this */ public function name(string $name): self { $this->name = $name; return $this; } /** * Indicate that the deferred callback should run even on unsuccessful requests and jobs. * * @param bool $always * @return $this */ public function always(bool $always = true): self { $this->always = $always; return $this; } /** * Invoke the deferred callback. * * @return void */ public function __invoke(): void { call_user_func($this->callback); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
DeferredCallback.php
1.10 KB
lrw-rw-rw-
2025-09-17 06:53:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DeferredCallbackCollection.php
3.25 KB
lrw-rw-rw-
2025-09-17 06:53:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).