GenderKeys::__clone()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
c 1
b 0
f 0
dl 0
loc 2
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * TechDivision\Import\Customer\Address\Utils\GenderKeys
5
 *
6
 * PHP version 7
7
 *
8
 * @author    Tim Wagner <[email protected]>
9
 * @copyright 2018 TechDivision GmbH <[email protected]>
10
 * @license   https://opensource.org/licenses/MIT
11
 * @link      https://github.com/techdivision/import-customer-address
12
 * @link      http://www.techdivision.com
13
 */
14
15
namespace TechDivision\Import\Customer\Address\Utils;
16
17
/**
18
 * Utility class containing the available gender keys.
19
 *
20
 * @author    Tim Wagner <[email protected]>
21
 * @copyright 2018 TechDivision GmbH <[email protected]>
22
 * @license   https://opensource.org/licenses/MIT
23
 * @link      https://github.com/techdivision/import-customer-address
24
 * @link      http://www.techdivision.com
25
 */
26
class GenderKeys
27
{
28
29
    /**
30
     * Key for 'Male'.
31
     *
32
     * @var integer
33
     */
34
    const GENDER_MALE = 1;
35
36
    /**
37
     * Key for 'Female'.
38
     *
39
     * @var integer
40
     */
41
    const GENDER_FEMALE = 2;
42
43
    /**
44
     * Key for 'Not Specified'.
45
     *
46
     * @var integer
47
     */
48
    const GENDER_NOT_SPECIFIED = 3;
49
50
    /**
51
     * This is a utility class, so protect it against direct
52
     * instantiation.
53
     */
54
    private function __construct()
55
    {
56
    }
57
58
    /**
59
     * This is a utility class, so protect it against cloning.
60
     *
61
     * @return void
62
     */
63
    private function __clone()
64
    {
65
    }
66
}
67