Passed
Push — master ( bcadde...416dc9 )
by Gabriel
02:50 queued 12s
created

Records::getTypesDirectory()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace ByTIC\Models\SmartProperties\Tests\Fixtures\RecordsTraits\HasTypes;
4
5
use ByTIC\Models\SmartProperties\RecordsTraits\HasTypes\RecordsTrait;
6
use Nip\Records\RecordManager as AbstractRecords;
7
use Nip\Utility\Traits\SingletonTrait;
8
9
/**
10
 * Class Records
11
 * @package ByTIC\Models\SmartProperties\Tests\Fixtures\RecordsTraits\HasTypes
12
 */
13
class Records extends AbstractRecords
14
{
15
    use RecordsTrait;
16
    use SingletonTrait;
17
18
    /**
19
     * @inheritDoc
20
     */
21
    public function getTypesDirectory()
22
    {
23
        return __DIR__ . DIRECTORY_SEPARATOR . 'Types';
24
    }
25
26
    /** @noinspection PhpMissingParentCallCommonInspection
27
     * @return string
28
     */
29
    public function getModelNamespace()
30
    {
31
        return 'ByTIC\Models\SmartProperties\Tests\Fixtures\RecordsTraits\HasTypes\\';
32
    }
33
}
34