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

_VALUE::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 _VALUE implements DefineTableInterface
15
{
16
17
    public const ID = 'value_id';
18
    public const DOMAIN_ID = 'domain_id';
19
    public const ENTITY_ID = 'entity_id';
20
    public const ATTRIBUTE_ID = 'attribute_id';
21
    public const VALUE = 'value';
22 1
23
    public static function table() : string
24 1
    {
25
        return 'eav_value_%s';
26
    }
27 1
28
}
29