Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Pantheon
Terminus
Commands
PaymentMethod
AddCommand
PHP Класс Pantheon\Terminus\Commands\PaymentMethod\AddCommand
Наследование:
extends
Pantheon\Terminus\Commands\TerminusCommand
,
implements
Pantheon\Terminus\Site\SiteAwareInterface
,
use trait
Pantheon\Terminus\Site\SiteAwareTrait
Показать файл
Открыть проект
Открытые методы
Метод
Описание
add
(
string
$site_name
,
string
$payment_method
)
Apply a payment method attached to your account to the given site
Описание методов
add()
публичный
Метод
Apply a payment method attached to your account to the given site
public
add
(
string
$site_name
,
string
$payment_method
)
$site_name
string
The name or UUID of the site to attach a payment method to
$payment_method
string
The label or UUID of the payment method to apply to the site