_ATTR_PROP::table()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
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 _ATTR_PROP implements DefineTableInterface
15
{
16
    public const KEY = 'property_key';
17
    public const ATTRIBUTE_KEY = 'attribute_key';
18
    public const NAME = 'name';
19
    public const VALUE = 'value';
20
21 1
    public static function table(): string
22
    {
23 1
        return "eav_attribute_properties";
24
    }
25
26
}