REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 790 B
Close
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Concurrency/SyncDriver.php
Text
Base64
<?php namespace Illuminate\Concurrency; use Closure; use Illuminate\Contracts\Concurrency\Driver; use Illuminate\Support\Collection; use Illuminate\Support\Defer\DeferredCallback; use function Illuminate\Support\defer; class SyncDriver implements Driver { /** * Run the given tasks concurrently and return an array containing the results. */ public function run(Closure|array $tasks): array { return Collection::wrap($tasks)->map( fn ($task) => $task() )->all(); } /** * Start the given tasks in the background after the current task has finished. */ public function defer(Closure|array $tasks): DeferredCallback { return defer(fn () => Collection::wrap($tasks)->each(fn ($task) => $task())); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Console
DIR
-
drwxrwxrwx
2025-09-17 06:52:59
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
composer.json
964 B
lrw-rw-rw-
2025-09-17 06:52:59
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ConcurrencyManager.php
2.54 KB
lrw-rw-rw-
2025-09-17 06:52:59
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ConcurrencyServiceProvider.php
692 B
lrw-rw-rw-
2025-09-17 06:52:59
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ForkDriver.php
773 B
lrw-rw-rw-
2025-09-17 06:52:59
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LICENSE.md
1.05 KB
lrw-rw-rw-
2025-09-17 06:52:59
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ProcessDriver.php
2.32 KB
lrw-rw-rw-
2025-09-17 06:52:59
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
SyncDriver.php
790 B
lrw-rw-rw-
2025-09-17 06:52:59
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).