REDROOM
PHP 7.4.33
Path:
Logout
Edit File
Size: 1.12 KB
Close
/home/godevadmin/www/admin/vendor/aws/Aws/EndpointDiscovery/Configuration.php
Text
Base64
<?php namespace Aws\EndpointDiscovery; class Configuration implements ConfigurationInterface { private $cacheLimit; private $enabled; public function __construct($enabled, $cacheLimit = 1000) { $this->cacheLimit = filter_var($cacheLimit, FILTER_VALIDATE_INT); if ($this->cacheLimit == false || $this->cacheLimit < 1) { throw new \InvalidArgumentException( "'cache_limit' value must be a positive integer." ); } // Unparsable $enabled flag errs on the side of disabling endpoint discovery $this->enabled = filter_var($enabled, FILTER_VALIDATE_BOOLEAN); } /** * {@inheritdoc} */ public function isEnabled() { return $this->enabled; } /** * {@inheritdoc} */ public function getCacheLimit() { return $this->cacheLimit; } /** * {@inheritdoc} */ public function toArray() { return [ 'enabled' => $this->isEnabled(), 'cache_limit' => $this->getCacheLimit() ]; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 5
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.12 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
610 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
8.87 KB
lrwxrwxr-x
2024-06-18 20:10:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
EndpointDiscoveryMiddleware.php
13.70 KB
lrwxrwxr-x
2024-06-18 20:10:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
EndpointList.php
1.98 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).