Completed
Pull Request — master (#5)
by Tim
04:05
created

MemberNames::__clone()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/**
4
 * TechDivision\Import\Product\Link\Utils\MemberNames
5
 *
6
 * NOTICE OF LICENSE
7
 *
8
 * This source file is subject to the Open Software License (OSL 3.0)
9
 * that is available through the world-wide-web at this URL:
10
 * http://opensource.org/licenses/osl-3.0.php
11
 *
12
 * PHP version 5
13
 *
14
 * @author    Tim Wagner <[email protected]>
15
 * @copyright 2016 TechDivision GmbH <[email protected]>
16
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
 * @link      https://github.com/techdivision/import-product-link
18
 * @link      http://www.techdivision.com
19
 */
20
21
namespace TechDivision\Import\Product\Link\Utils;
22
23
/**
24
 * Utility class containing the entities member names.
25
 *
26
 * @author    Tim Wagner <[email protected]>
27
 * @copyright 2016 TechDivision GmbH <[email protected]>
28
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29
 * @link      https://github.com/techdivision/import-product-link
30
 * @link      http://www.techdivision.com
31
 */
32
class MemberNames extends \TechDivision\Import\Product\Utils\MemberNames
33
{
34
35
    /**
36
     * Name for the member 'link_id'.
37
     *
38
     * @var string
39
     */
40
    const LINK_ID = 'link_id';
41
42
    /**
43
     * Name for the member 'linked_product_id'.
44
     *
45
     * @var string
46
     */
47
    const LINKED_PRODUCT_ID = 'linked_product_id';
48
49
    /**
50
     * Name for the member 'link_type_id'.
51
     *
52
     * @var string
53
     */
54
    const LINK_TYPE_ID = 'link_type_id';
55
56
    /**
57
     * Name for the member 'product_link_attribute_id'.
58
     *
59
     * @var string
60
     */
61
    const PRODUCT_LINK_ATTRIBUTE_ID = 'product_link_attribute_id';
62
63
    /**
64
     * Name for the member 'product_link_attribute_code'.
65
     *
66
     * @var string
67
     */
68
    const PRODUCT_LINK_ATTRIBUTE_CODE = 'product_link_attribute_code';
69
70
    /**
71
     * Name for the member 'value'.
72
     *
73
     * @var string
74
     */
75
    const VALUE = 'value';
76
}
77