Passed
Push — main ( fda4ea...a94ce1 )
by Gabriel
13:57
created

PaymentMethod::getFilesDirectory()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace ByTIC\Payments\Mobilpay\Tests\Fixtures\Records\PaymentMethods;
4
5
use ByTIC\Payments\Models\Methods\Traits\RecordTrait as PaymentMethodTrait;
6
use Nip\Records\Record;
7
8
/**
9
 * Class PaymentMethod
10
 * @package ByTIC\Payments\Tests\Fixtures\Records\PaymentMethods
11
 */
12
class PaymentMethod extends Record
13
{
14
    use PaymentMethodTrait;
15
16
    protected $managerName = PaymentMethods::class;
17
18
    public function getRegistry()
19
    {
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()
47
    {
48
        return 2;
49
    }
50
}
51