BillingRecord::getRegistry()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php
2
3
namespace ByTIC\Payments\Tests\Fixtures\Records;
4
5
use ByTIC\Payments\Models\BillingRecord\Traits\RecordTrait as BillingRecordTrait;
6
use ByTIC\Common\Records\Traits\HasSerializedOptions\RecordTrait as HasSerializedOptions;
7
use Nip\Records\AbstractModels\Record;
8
9
/**
10
 * Class PurchasableRecord
11
 */
12
class BillingRecord extends Record
13
{
14
    use HasSerializedOptions;
15
    use BillingRecordTrait;
16
17
    public $phone = '99';
18
19
    /**
20
     * @return string
21
     */
22
    public function getFirstName()
23
    {
24
        return 'John';
25
    }
26
27
    /**
28
     * @return string
29
     */
30
    public function getLastName()
31
    {
32
        return 'Doe';
33
    }
34
35
    /**
36
     * @return string
37
     */
38
    public function getEmail()
39
    {
40
        return '[email protected]';
41
    }
42
43
    public function getRegistry()
44
    {
45
    }
46
}
47