Total Complexity | 1 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
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() |
||
40 |