Submit
Path:
~
/
/
proc
/
self
/
root
/
opt
/
psa
/
admin
/
plib
/
modules
/
letsencrypt
/
vendor
/
aws
/
aws-sdk-php
/
src
/
S3
/
UseArnRegion
/
File Content:
Configuration.php
<?php namespace PleskLetsEncrypt\Aws\S3\UseArnRegion; use Aws; use PleskLetsEncrypt\Aws\S3\UseArnRegion\Exception\ConfigurationException; class Configuration implements ConfigurationInterface { private $useArnRegion; public function __construct($useArnRegion) { $this->useArnRegion = \PleskLetsEncrypt\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()]; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
Exception
---
0755
Configuration.php
794 bytes
0644
ConfigurationInterface.php
384 bytes
0644
ConfigurationProvider.php
6494 bytes
0644
N4ST4R_ID | Naxtarrr