SingleTableInheritance   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 1
cbo 2
dl 0
loc 10
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setType() 0 4 1
1
<?php
2
3
namespace LaravelDoctrine\Fluent\Builders\Inheritance;
4
5
class SingleTableInheritance extends AbstractInheritance
6
{
7
    /**
8
     * Set inheritance type
9
     */
10 10
    protected function setType()
11
    {
12 10
        $this->builder->setSingleTableInheritance();
13 10
    }
14
}
15