Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class PaymentMethod extends Record |
||
13 | { |
||
14 | use PaymentMethodTrait; |
||
15 | |||
16 | public function getRegistry() |
||
18 | } |
||
19 | |||
20 | public function getManager() |
||
21 | { |
||
22 | return PaymentMethods::instance(); |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | public function getFilesDirectory() |
||
29 | { |
||
30 | return TEST_FIXTURE_PATH . '/files/'; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | */ |
||
36 | protected function inflectManagerName() |
||
37 | { |
||
38 | return PaymentMethods::class; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return int |
||
43 | */ |
||
44 | public function getPurchasesCount() |
||
47 | } |
||
48 | } |
||
49 |