OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
Xpress
/
vendor
/
aws
/
aws-sdk-php
/
src
/
S3
/
UseArnRegion
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
Configuration.php
820 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
ConfigurationInterface.php
386 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
ConfigurationProvider.php
6.59 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
Exception
-
05/19/2025 10:07:16 AM
rwxr-xr-x
Editing: Configuration.php
Close
<?php namespace Aws\S3\UseArnRegion; use Aws; use Aws\S3\UseArnRegion\Exception\ConfigurationException; class Configuration implements ConfigurationInterface { private $useArnRegion; public function __construct($useArnRegion) { $this->useArnRegion = Aws\boolean_value($useArnRegion); if (is_null($this->useArnRegion)) { throw new ConfigurationException("'use_arn_region' config option" . " must be a boolean value."); } } /** * {@inheritdoc} */ public function isUseArnRegion() { return $this->useArnRegion; } /** * {@inheritdoc} */ public function toArray() { return [ 'use_arn_region' => $this->isUseArnRegion(), ]; } }