1 | <?php |
||
32 | class MagentoConfigurationKeys |
||
33 | { |
||
34 | |||
35 | /** |
||
36 | * This is a utility class, so protect it against direct |
||
37 | * instantiation. |
||
38 | */ |
||
39 | private function __construct() |
||
42 | |||
43 | /** |
||
44 | * This is a utility class, so protect it against cloning. |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | private function __clone() |
||
51 | |||
52 | /** |
||
53 | * The key for the DB environment in the app/etc/env.php file. |
||
54 | * |
||
55 | * @var string |
||
56 | */ |
||
57 | const DB = 'db'; |
||
58 | |||
59 | /** |
||
60 | * The key for the DB connection in the app/etc/env.php file. |
||
61 | * |
||
62 | * @var string |
||
63 | */ |
||
64 | const CONNECTION = 'connection'; |
||
65 | |||
66 | /** |
||
67 | * The key for the DB host in the app/etc/env.php file. |
||
68 | * |
||
69 | * @var string |
||
70 | */ |
||
71 | const HOST = 'host'; |
||
72 | |||
73 | /** |
||
74 | * The key for the DB name in the app/etc/env.php file. |
||
75 | * |
||
76 | * @var string |
||
77 | */ |
||
78 | const DBNAME = 'dbname'; |
||
79 | |||
80 | /** |
||
81 | * The key for the DB username in the app/etc/env.php file. |
||
82 | * |
||
83 | * @var string |
||
84 | */ |
||
85 | const USERNAME = 'username'; |
||
86 | |||
87 | /** |
||
88 | * The key for the DB password in the app/etc/env.php file. |
||
89 | * |
||
90 | * @var string |
||
91 | */ |
||
92 | const PASSWORD = 'password'; |
||
93 | |||
94 | /** |
||
95 | * The attribute with the Magento Edition name in the composer.json file. |
||
96 | * |
||
97 | * @var string |
||
98 | */ |
||
99 | const COMPOSER_EDITION_NAME_ATTRIBUTE = 'name'; |
||
100 | } |
||
101 |