Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
clientexception.php
1<?php
2
4
6use Psr\Http\Message\RequestInterface;
7use Psr\Http\Client\ClientExceptionInterface;
8
9class ClientException extends SystemException implements ClientExceptionInterface
10{
11 protected RequestInterface $request;
12
13 public function __construct(RequestInterface $request, $message = '')
14 {
15 parent::__construct($message);
16
17 $this->request = $request;
18 }
19
20 public function getRequest(): RequestInterface
21 {
22 return $this->request;
23 }
24}
__construct(RequestInterface $request, $message='')