REDROOM
PHP 7.4.33
Path:
Logout
Edit File
Size: 1.16 KB
Close
/home/godevadmin/www/admin/vendor/aws/Aws/Endpoint/UseDualstackEndpoint/Configuration.php
Text
Base64
<?php namespace Aws\Endpoint\UseDualstackEndpoint; use Aws; use Aws\Endpoint\UseDualstackEndpoint\Exception\ConfigurationException; class Configuration implements ConfigurationInterface { private $useDualstackEndpoint; public function __construct($useDualstackEndpoint, $region) { $this->useDualstackEndpoint = Aws\boolean_value($useDualstackEndpoint); if (is_null($this->useDualstackEndpoint)) { throw new ConfigurationException("'use_dual_stack_endpoint' config option" . " must be a boolean value."); } if ($this->useDualstackEndpoint == true && (strpos($region, "iso-") !== false || strpos($region, "-iso") !== false) ) { throw new ConfigurationException("Dual-stack is not supported in ISO regions"); } } /** * {@inheritdoc} */ public function isUseDualstackEndpoint() { return $this->useDualstackEndpoint; } /** * {@inheritdoc} */ public function toArray() { return [ 'use_dual_stack_endpoint' => $this->isUseDualstackEndpoint(), ]; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Exception
DIR
-
drwxrwxr-x
2024-06-18 20:10:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Configuration.php
1.16 KB
lrwxrwxr-x
2024-06-18 20:10:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ConfigurationInterface.php
388 B
lrwxrwxr-x
2024-06-18 20:10:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ConfigurationProvider.php
6.83 KB
lrwxrwxr-x
2024-06-18 20:10:16
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).