Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/EmailNotifications/vendor/async-aws/core/src/HttpClient/AwsHttpClientFactory.php
Ðазад
<?php namespace AsyncAws\Core\HttpClient; use Psr\Log\LoggerInterface; use Symfony\Component\HttpClient\HttpClient; use Symfony\Component\HttpClient\RetryableHttpClient; use Symfony\Contracts\HttpClient\HttpClientInterface; /** * @author Jérémy Derussé <jeremy@derusse.com> */ class AwsHttpClientFactory { public static function createRetryableClient(?HttpClientInterface $httpClient = null, ?LoggerInterface $logger = null): HttpClientInterface { if (null === $httpClient) { $httpClient = HttpClient::create(); } if (class_exists(RetryableHttpClient::class)) { /** @psalm-suppress MissingDependency */ $httpClient = new RetryableHttpClient( $httpClient, new AwsRetryStrategy(), 3, $logger ); } return $httpClient; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка