$environment['S3_ENDPOINT'] ?? null, 'use_path_style_endpoint' => isset($environment['S3_USE_PATH_STYLE_ENDPOINT']), 'credentials' => [ 'key' => $environment['S3_API_KEY'], 'secret' => $environment['S3_API_SECRET'], ], 'region' => $environment['S3_REGION'] ?? 'us-east', 'version' => 'latest', ])), $environment['S3_BUCKET'], $environment['S3_PREFIX'] ?? null ); parent::__construct($s3Adapter); } }