| Total Complexity | 5 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class PaypalDebitSubForm extends AbstractSubFormType implements SubFormInterface, SubFormProviderNameInterface |
||
| 18 | { |
||
| 19 | protected const PAYMENT_METHOD_TEMPLATE_PATH = 'paypal-debit'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return string |
||
| 23 | */ |
||
| 24 | public function getProviderName(): string |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function getName(): string |
||
| 33 | { |
||
| 34 | return HeidelpayConfig::PAYMENT_METHOD_PAYPAL_DEBIT; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getPropertyPath(): string |
||
| 41 | { |
||
| 42 | return HeidelpayConfig::PAYMENT_METHOD_PAYPAL_DEBIT; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getTemplatePath(): string |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
| 55 | * |
||
| 56 | * @return void |
||
| 57 | */ |
||
| 58 | public function configureOptions(OptionsResolver $resolver): void |
||
| 63 | } |
||
| 64 | } |
||
| 65 |