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

_ENTITY::column()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 6
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 7
ccs 6
cts 6
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 _ENTITY implements DefineTableInterface
15
{
16
    public const ID = 'entity_id';
17
    public const DOMAIN_ID = 'domain_id';
18
    public const ATTR_SET_ID = 'set_id';
19
    public const SERVICE_KEY = 'service_key';
20
21 1
    public static function table() : string
22
    {
23 1
        return 'eav_entities';
24
    }
25
26
}
27