1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
requestevent.php
См. документацию.
1
<?php
2
9
10
namespace
Bitrix\Main\Web\Http;
11
12
use Bitrix\Main;
13
use Bitrix\Main\Web\HttpClient;
14
use Psr\Http\Message\RequestInterface;
15
19
class
RequestEvent
extends
Main\Event
20
{
21
protected
HttpClient
$client
;
22
protected
RequestInterface
$request
;
23
24
public
function
__construct
(
HttpClient
$client
, RequestInterface
$request
,
string
$type
)
25
{
26
parent::__construct(
'main'
,
$type
);
27
28
$this->client =
$client
;
29
$this->request =
$request
;
30
}
31
32
public
function
getClient
():
HttpClient
33
{
34
return
$this->client
;
35
}
36
37
public
function
getRequest
(): RequestInterface
38
{
39
return
$this->request
;
40
}
41
}
Bitrix\Main\Event
Определения
event.php:5
Bitrix\Main\Event\$type
$type
Определения
event.php:7
Bitrix\Main\Web\Http\RequestEvent
Определения
requestevent.php:20
Bitrix\Main\Web\Http\RequestEvent\getClient
getClient()
Определения
requestevent.php:32
Bitrix\Main\Web\Http\RequestEvent\$request
RequestInterface $request
Определения
requestevent.php:22
Bitrix\Main\Web\Http\RequestEvent\__construct
__construct(HttpClient $client, RequestInterface $request, string $type)
Определения
requestevent.php:24
Bitrix\Main\Web\Http\RequestEvent\getRequest
getRequest()
Определения
requestevent.php:37
Bitrix\Main\Web\Http\RequestEvent\$client
HttpClient $client
Определения
requestevent.php:21
Bitrix\Main\Web\HttpClient
Определения
httpclient.php:24
bitrix
modules
main
lib
web
http
requestevent.php
Создано системой
1.14.0