Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay3/vendor/omnipay/multisafepay/src/Message/FetchPaymentMethodsResponse.php
Ðазад
<?php /** * MultiSafepay XML Api Fetch Payment Methods Response. */ namespace Omnipay\MultiSafepay\Message; /** * MultiSafepat XML Api Fetch Payment Methods Response. * * @deprecated This API is deprecated and will be removed in * an upcoming version of this package. Please switch to the Rest API. */ class FetchPaymentMethodsResponse extends AbstractResponse { /** * {@inheritdoc} */ public function isSuccessful() { return isset($this->data->gateways); } /** * Return available payment methods as an associative array. * * @return array */ public function getPaymentMethods() { $result = array(); foreach ($this->data->gateways->gateway as $gateway) { $result[(string) $gateway->id] = (string) $gateway->description; } return $result; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка