InheritanceType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 31
ccs 0
cts 1
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\ORM\Mapping;
6
7
final class InheritanceType
8
{
9
    /**
10
     * NONE means the class does not participate in an inheritance hierarchy
11
     * and therefore does not need an inheritance mapping type.
12
     */
13
    public const NONE = 'NONE';
14
15
    /**
16
     * JOINED means the class will be persisted according to the rules of
17
     * <tt>Class Table Inheritance</tt>.
18
     */
19
    public const JOINED = 'JOINED';
20
21
    /**
22
     * SINGLE_TABLE means the class will be persisted according to the rules of
23
     * <tt>Single Table Inheritance</tt>.
24
     */
25
    public const SINGLE_TABLE = 'SINGLE_TABLE';
26
27
    /**
28
     * TABLE_PER_CLASS means the class will be persisted according to the rules
29
     * of <tt>Concrete Table Inheritance</tt>.
30
     */
31
    public const TABLE_PER_CLASS = 'TABLE_PER_CLASS';
32
33
    /**
34
     * Will break upon instantiation.
35
     */
36
    private function __construct()
37
    {
38
    }
39
}
40