DefaultCodes   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 3
c 1
b 0
f 0
dl 0
loc 32
ccs 0
cts 3
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A __clone() 0 2 1
1
<?php
2
3
/**
4
 * TechDivision\Import\Product\TierPrice\Utils\DefaultCodes
5
 *
6
 * PHP version 7
7
 *
8
 * @author    Tim Wagner <[email protected]>
9
 * @license   https://opensource.org/licenses/MIT
10
 * @link      https://github.com/techdivision/import-product-tier-price
11
 * @link      https://www.techdivision.com
12
 */
13
14
namespace TechDivision\Import\Product\TierPrice\Utils;
15
16
/**
17
 * Specific column keys for handling tier prices.
18
 *
19
 * @author    Tim Wagner <[email protected]>
20
 * @license   https://opensource.org/licenses/MIT
21
 * @link      https://github.com/techdivision/import-product-tier-price
22
 * @link      https://www.techdivision.com
23
 */
24
class DefaultCodes
25
{
26
27
    /**
28
     * The tier price customer group code for all groups.
29
     *
30
     * @var string
31
     */
32
    const ALL_GROUPS = 'ALL GROUPS';
33
34
    /**
35
     * The tier price website code for all websites.
36
     *
37
     * @var string
38
     */
39
    const ALL_WEBSITES = 'All Websites';
40
41
    /**
42
     * This is a utility class, so protect it against direct
43
     * instantiation.
44
     */
45
    private function __construct()
46
    {
47
    }
48
49
    /**
50
     * This is a utility class, so protect it against cloning.
51
     *
52
     * @return void
53
     */
54
    private function __clone()
55
    {
56
    }
57
}
58