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

Transactions   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 5
c 1
b 0
f 1
dl 0
loc 10
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getRootNamespace() 0 3 1
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
}