File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/sale/handlers/delivery/yandextaxi/api/transport/response.php
Back
<?php namespace Sale\Handlers\Delivery\YandexTaxi\Api\Transport; /** * Class Response * @package Sale\Handlers\Delivery\YandexTaxi\Api\Transport * @internal */ final class Response { /** @var int */ private $status; /** @var array */ private $body; /** * Response constructor. * @param int $status * @param array $body */ public function __construct(int $status, array $body) { $this->status = $status; $this->body = $body; } /** * @return int */ public function getStatus(): int { return $this->status; } /** * @return array */ public function getBody(): array { return $this->body; } /** * @return string */ public function toString(): string { return serialize( [ 'status' => $this->status, 'body' => $this->body, ] ); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings