Generic   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 13
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

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