REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 1.03 KB
Close
/home/getspomw/royalsquad.us/vendor/stevebauman/location/src/Commands/Update.php
Text
Base64
<?php namespace Stevebauman\Location\Commands; use Illuminate\Console\Command; use Stevebauman\Location\Drivers\Updatable; use Stevebauman\Location\Facades\Location; class Update extends Command { /** * The signature of the console command. * * @var string */ protected $signature = 'location:update'; /** * The description of the console command. * * @var string */ protected $description = 'Update the configured drivers.'; /** * Execute the console command. */ public function handle(): int { foreach (Location::drivers() as $driver) { if ($driver instanceof Updatable) { $this->line(sprintf('Updating driver [%s]...', $driver::class)); $driver->update($this); $this->line(sprintf('Successfully updated driver [%s].', $driver::class)); $this->newLine(); } } $this->line('All configured drivers have been updated.'); return static::SUCCESS; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Update.php
1.03 KB
lrw-rw-rw-
2025-08-03 14:03:40
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).