프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$methods | array |
메소드 | 설명 | |
---|---|---|
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 |