![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/vendor/aws/aws-sdk-php/src/Arn/S3/ |
<?php namespace Aws\Arn\S3; use Aws\Arn\AccessPointArn as BaseAccessPointArn; use Aws\Arn\AccessPointArnInterface; use Aws\Arn\ArnInterface; use Aws\Arn\Exception\InvalidArnException; /** * @internal */ class AccessPointArn extends BaseAccessPointArn implements AccessPointArnInterface { /** * Validation specific to AccessPointArn * * @param array $data */ public static function validate(array $data) { parent::validate($data); if ($data['service'] !== 's3') { throw new InvalidArnException("The 3rd component of an S3 access" . " point ARN represents the region and must be 's3'."); } } }