Свойство | Type | Description | |
---|---|---|---|
$methods | array |
Méthode | Description | |
---|---|---|
addMethod ( Sonata\Component\Payment\PaymentInterface $instance ) | add a payment method into the pool. | |
getMethod ( string $code ) : Sonata\Component\Payment\PaymentInterface | return a PaymentInterface Object. | |
getMethods ( ) : array |
public addMethod ( Sonata\Component\Payment\PaymentInterface $instance ) | ||
$instance | Sonata\Component\Payment\PaymentInterface |