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

Purchases::getRootNamespace()   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\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
}