Passed
Push — master ( c0f464...9c6e80 )
by Gabriel
11:21
created

Transactions::getRootNamespace()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace ByTIC\Payments\Models\Transactions;
4
5
use ByTIC\Common\Records\Records;
6
use Nip\Utility\Traits\SingletonTrait;
7
8
/**
9
 * Class Transactions
10
 * @package ByTIC\Payments\Models\Transactions
11
 */
12
class Transactions extends Records
13
{
14
    public const TABLE = 'payments-transactions';
15
16
    use SingletonTrait;
17
    use TransactionsTrait;
0 ignored issues
show
introduced by
The trait ByTIC\Payments\Models\Tr...tions\TransactionsTrait requires some properties which are not provided by ByTIC\Payments\Models\Transactions\Transactions: $metadata, $id
Loading history...
18
19
    public function getRootNamespace()
20
    {
21
        return 'ByTIC\Payments\Models\\';
22
    }
23
}