Passed
Push — master ( feac44...0272f5 )
by Aleksandr
33:21
created

_PIVOT::column()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 7
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 6
c 0
b 0
f 0
dl 0
loc 8
ccs 7
cts 7
cp 1
rs 10
cc 1
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 * This file is part of the eav package.
4
 * @author    Aleksandr Drobotik <[email protected]>
5
 * @copyright 2023 Aleksandr Drobotik
6
 * @license   https://opensource.org/license/mit  The MIT License
7
 */
8
declare(strict_types=1);
9
10
namespace Drobotik\Eav\Enum;
11
12
use Drobotik\Eav\Interface\DefineTableInterface;
13
14
class _PIVOT implements DefineTableInterface
15
{
16
    public const ID = 'pivot_id';
17
    public const DOMAIN_ID = 'domain_id';
18
    public const SET_ID = 'set_id';
19
    public const GROUP_ID = 'group_id';
20
    public const ATTR_ID = 'attribute_id';
21
22 1
    public static function table() : string
23
    {
24 1
        return 'eav_pivot';
25
    }
26
}
27