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

Purchases   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getRootNamespace() 0 3 1
1
<?php
2
3
namespace ByTIC\Payments\Models\Purchases;
4
5
use ByTIC\Payments\Models\Purchase\Traits\IsPurchasableRepositoryTrait;
6
use Nip\Records\RecordManager;
7
use Nip\Utility\Traits\SingletonTrait;
8
9
/**
10
 * Class Purchases
11
 * @package ByTIC\Payments\Models\Purchases
12
 */
13
class Purchases extends RecordManager
14
{
15
    use SingletonTrait;
16
    use IsPurchasableRepositoryTrait;
17
18
    public function getRootNamespace()
19
    {
20
        return 'ByTIC\Payments\Models\\';
21
    }
22
}