Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay3/vendor/omnipay/targetpay/src/Message/AbstractResponse.php
Ðазад
<?php namespace Omnipay\TargetPay\Message; use Omnipay\Common\Message\AbstractResponse as BaseAbstractResponse; use Omnipay\Common\Message\RequestInterface; abstract class AbstractResponse extends BaseAbstractResponse { /** * @var string */ protected $code; /** * {@inheritdoc} */ public function __construct(RequestInterface $request, $data) { parent::__construct($request, $data); if (false !== preg_match('/^([A-Z0-9]{6})(.*)$/', $this->data, $matches)) { $this->code = trim($matches[1]); $this->data = trim($matches[2]); } } /** * {@inheritdoc} */ public function getMessage() { if (!$this->isSuccessful()) { return $this->data; } return null; } /** * {@inheritdoc} */ public function getCode() { if (!$this->isSuccessful()) { return $this->code; } return null; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка