MemberNames   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 3
c 1
b 0
f 0
dl 0
loc 33
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\Serializer\Csv\Utils\MemberNames
5
 *
6
 * PHP version 7
7
 *
8
 * @author    Tim Wagner <[email protected]>
9
 * @copyright 2021 TechDivision GmbH <[email protected]>
10
 * @license   https://opensource.org/licenses/MIT
11
 * @link      https://github.com/techdivision/import-serializer-csv
12
 * @link      http://www.techdivision.com
13
 */
14
15
namespace TechDivision\Import\Serializer\Csv\Utils;
16
17
/**
18
 * Utility class containing the entities member names.
19
 *
20
 * @author    Tim Wagner <[email protected]>
21
 * @copyright 2021 TechDivision GmbH <[email protected]>
22
 * @license   https://opensource.org/licenses/MIT
23
 * @link      https://github.com/techdivision/import-serializer-csv
24
 * @link      http://www.techdivision.com
25
 */
26
class MemberNames
27
{
28
29
    /**
30
     * This is a utility class, so protect it against direct
31
     * instantiation.
32
     */
33
    private function __construct()
34
    {
35
    }
36
37
    /**
38
     * This is a utility class, so protect it against cloning.
39
     *
40
     * @return void
41
     */
42
    private function __clone()
43
    {
44
    }
45
46
    /**
47
     * Name for the member 'entity_type_id'.
48
     *
49
     * @var string
50
     */
51
    const ENTITY_TYPE_ID = 'entity_type_id';
52
53
    /**
54
     * Name for the member 'frontend_input'.
55
     *
56
     * @var string
57
     */
58
    const FRONTEND_INPUT = 'frontend_input';
59
}
60