Generic::getLabelSlug()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
ccs 0
cts 2
cp 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace ByTIC\Models\SmartProperties\Properties\Types;
4
5
use ByTIC\Models\SmartProperties\Properties\AbstractProperty\Generic as GenericProperty;
6
use ReflectionClass;
7
8
/**
9
 * Class Generic
10
 * @package ByTIC\Common\Records\Types
11
 */
12
abstract class Generic extends GenericProperty
13
{
14
    /**
15
     * @var null|string
16
     */
17
    protected $field = 'type';
18
19
    /**
20
     * @return string
21
     */
22
    protected function getLabelSlug()
23
    {
24
        return 'types';
25
    }
26
}
27