Passed
Push — master ( 17e6cc...350d8b )
by Aleksandr
41:29 queued 06:24
created

_PIVOT   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 11
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A table() 0 3 1
1
<?php
2
/**
3
 * This file is part of the eav package.
4
 * @author    Alex Kuperwood <[email protected]>
5
 * @copyright 2025 Alex Kuperwood
6
 * @license   https://opensource.org/license/mit  The MIT License
7
 */
8
declare(strict_types=1);
9
10
namespace Kuperwood\Eav\Enum;
11
12
use Kuperwood\Eav\Interfaces\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