1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
response.php
См. документацию.
1
<?php
2
3
namespace
Sale\Handlers\Delivery\YandexTaxi\Api\Transport;
4
10
final
class
Response
11
{
13
private
$status;
14
16
private
$body;
17
23
public
function
__construct
(
int
$status,
array
$body)
24
{
25
$this->status = $status;
26
$this->body = $body;
27
}
28
32
public
function
getStatus(): int
33
{
34
return
$this->status
;
35
}
36
40
public
function
getBody():
array
41
{
42
return
$this->body;
43
}
44
48
public
function
toString(): string
49
{
50
return
serialize(
51
[
52
'status'
=> $this->status,
53
'body'
=> $this->body,
54
]
55
);
56
}
57
}
Bitrix\Main\Response
Определения
response.php:5
Bitrix\Main\Response\__construct
__construct()
Определения
response.php:9
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$status
$status
Определения
session.php:10
bitrix
modules
sale
handlers
delivery
yandextaxi
api
transport
response.php
Создано системой
1.14.0