Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay3/vendor/php-http/message/src/Authentication/RequestConditional.php
Ðазад
<?php namespace Http\Message\Authentication; use Http\Message\Authentication; use Http\Message\RequestMatcher; use Psr\Http\Message\RequestInterface; /** * Authenticate a PSR-7 Request if the request is matching the given request matcher. * * @author Márk Sági-Kazár <mark.sagikazar@gmail.com> */ final class RequestConditional implements Authentication { /** * @var RequestMatcher */ private $requestMatcher; /** * @var Authentication */ private $authentication; public function __construct(RequestMatcher $requestMatcher, Authentication $authentication) { $this->requestMatcher = $requestMatcher; $this->authentication = $authentication; } public function authenticate(RequestInterface $request) { if ($this->requestMatcher->matches($request)) { return $this->authentication->authenticate($request); } return $request; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка