1 | <?php |
||
4 | class DpsPxPayPayment_Handler extends Controller |
||
|
|||
5 | { |
||
6 | private static $allowed_actions = array( |
||
7 | "complete_link", |
||
8 | "absolute_complete_link", |
||
9 | "paid" |
||
10 | ); |
||
11 | |||
12 | private static $url_segment = 'dpspxpaypayment'; |
||
13 | |||
14 | public static function complete_link() |
||
18 | |||
19 | public static function absolute_complete_link() |
||
23 | |||
24 | public function paid() |
||
49 | } |
||
50 |
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.