File ManagerCurrent Directory: wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Sts/RegionalEndpointsLinux appserver-0d5e4f1e-php-cc8da225320a42ba9b7d66cba40b1f03 6.6.123+ #1 SMP PREEMPT_DYNAMIC Wed Mar 11 09:04:28 UTC 2026 x86_64Edit File: Configuration.php <?php namespace Aws\Sts\RegionalEndpoints; class Configuration implements ConfigurationInterface { private $endpointsType; private $isFallback; public function __construct($endpointsType, $isFallback = false) { $this->endpointsType = strtolower($endpointsType); $this->isFallback = $isFallback; if (!in_array($this->endpointsType, ['legacy', 'regional'])) { throw new \InvalidArgumentException( "Configuration parameter must either be 'legacy' or 'regional'." ); } } /** * {@inheritdoc} */ public function getEndpointsType() { return $this->endpointsType; } /** * {@inheritdoc} */ public function toArray() { return [ 'endpoints_type' => $this->getEndpointsType() ]; } public function isFallback() { return $this->isFallback; } } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)DirConfiguration.phpFile935.00 B Rename | Delete | EditConfigurationInterface.phpFile424.00 B Rename | Delete | EditConfigurationProvider.phpFile7.20 KB Rename | Delete | EditExceptionDirectory Rename | Delete