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