InputOptionKeys::__construct()   A
last analyzed

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
rs 10
c 0
b 0
f 0
ccs 0
cts 3
cp 0
cc 1
eloc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/**
4
 * TechDivision\Import\Command\ImportProductsCommand
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-cli-magento
18
 * @link      http://www.techdivision.com
19
 */
20
21
namespace TechDivision\Import\Command;
22
23
/**
24
 * Utility class containing the available visibility keys.
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-cli-magento
30
 * @link      http://www.techdivision.com
31
 */
32
class InputOptionKeys
33
{
34
35
    /**
36
     * This is a utility class, so protect it against direct
37
     * instantiation.
38
     */
39
    private function __construct()
40
    {
41
    }
42
43
    /**
44
     * This is a utility class, so protect it against cloning.
45
     *
46
     * @return void
47
     */
48
    private function __clone()
49
    {
50
    }
51
52
    /**
53
     * The input option key for the system name to use.
54
     *
55
     * @var string
56
     */
57
    const SYSTEM_NAME = 'system-name';
58
59
    /**
60
     * The input option key for the path to the configuration file to use.
61
     *
62
     * @var string
63
     */
64
    const CONFIGURATION = 'configuration';
65
66
    /**
67
     * The input option key for the Magento installation directory.
68
     *
69
     * @var string
70
     */
71
    const INSTALLATION_DIR = 'installation-dir';
72
73
    /**
74
     * The input option key for the directory containing the files to be imported.
75
     *
76
     * @var string
77
     */
78
    const SOURCE_DIR = 'source-dir';
79
80
    /**
81
     * The input option key for the directory containing the imported files.
82
     *
83
     * @var string
84
     */
85
    const TARGET_DIR = 'target-dir';
86
87
    /**
88
     * The input option key for the directory containing the flag to archive the imported files.
89
     *
90
     * @var string
91
     */
92
    const ARCHIVE_ARTEFACTS = 'archive-artefacts';
93
94
    /**
95
     * The input option key for the directory containing the archived imported files.
96
     *
97
     * @var string
98
     */
99
    const ARCHIVE_DIR = 'archive-dir';
100
101
    /**
102
     * The input option key for the Magento edition, EE or CE.
103
     *
104
     * @var string
105
     */
106
    const MAGENTO_EDITION = 'magento-edition';
107
108
    /**
109
     * The input option key for the Magento version, e. g. 2.1.0.
110
     *
111
     * @var string
112
     */
113
    const MAGENTO_VERSION = 'magento-version';
114
115
    /**
116
     * The input option key for the source date format to use.
117
     *
118
     * @var string
119
     */
120
    const SOURCE_DATE_FORMAT = 'source-date-format';
121
122
    /**
123
     * The input option key for the database ID to use.
124
     *
125
     * @var string
126
     */
127
    const USE_DB_ID = 'use-db-id';
128
129
    /**
130
     * The input option key for the PDO DSN to use.
131
     *
132
     * @var string
133
     */
134
    const DB_PDO_DSN = 'db-pdo-dsn';
135
136
    /**
137
     * The input option key for the DB username to use.
138
     *
139
     * @var string
140
     */
141
    const DB_USERNAME = 'db-username';
142
143
    /**
144
     * The input option key for the DB password to use.
145
     *
146
     * @var string
147
     */
148
    const DB_PASSWORD = 'db-password';
149
150
    /**
151
     * The input option key for the debug mode.
152
     *
153
     * @var string
154
     */
155
    const DEBUG_MODE = 'debug-mode';
156
157
    /**
158
     * The input option key for the log level to use.
159
     *
160
     * @var string
161
     */
162
    const LOG_LEVEL = 'log-level';
163
164
    /**
165
     * The input option key for the PID filename to use.
166
     *
167
     * @var string
168
     */
169
    const PID_FILENAME = 'pid-filename';
170
171
    /**
172
     * The input option key for the entity type code to use.
173
     *
174
     * @var string
175
     */
176
    const ENTITY_TYPE_CODE = 'entity-type-code';
177
}
178