1 | <?php |
||
7 | class EcommercePayment_Test extends EcommercePayment |
||
|
|||
8 | { |
||
9 | |||
10 | |||
11 | /** |
||
12 | * standard SS variable. |
||
13 | * |
||
14 | * @Var String |
||
15 | */ |
||
16 | private static $singular_name = 'Ecommerce Test Payment'; |
||
17 | public function i18n_singular_name() |
||
21 | |||
22 | /** |
||
23 | * standard SS variable. |
||
24 | * |
||
25 | * @Var String |
||
26 | */ |
||
27 | private static $plural_name = 'Ecommerce Test Payments'; |
||
28 | public function i18n_plural_name() |
||
32 | |||
33 | public function getPaymentFormRequirements() |
||
37 | } |
||
38 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.