File tree Expand file tree Collapse file tree 5 files changed +46
-323
lines changed
Expand file tree Collapse file tree 5 files changed +46
-323
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * Local configuration.
5+ *
6+ * Duplicate this file as `local.php` and change its settings as required.
7+ * `local.php` is ignored by git and safe to use for local and sensitive data like usernames and passwords.
8+ */
9+
10+ declare (strict_types=1 );
11+
12+ $ baseUrl = 'http://light.dotkernel.localhost ' ;
13+
14+ $ databases = [
15+ 'default ' => [
16+ 'host ' => 'localhost ' ,
17+ 'dbname ' => 'light ' ,
18+ 'user ' => 'root ' ,
19+ 'password ' => '123 ' ,
20+ 'port ' => 3306 ,
21+ 'driver ' => 'pdo_mysql ' ,
22+ 'charset ' => 'utf8mb4 ' ,
23+ 'collate ' => 'utf8mb4_general_ci ' ,
24+ ],
25+ // you can add more database connections into this array
26+ ];
27+
28+ return [
29+ 'databases ' => $ databases ,
30+ 'doctrine ' => [
31+ 'connection ' => [
32+ 'orm_default ' => [
33+ 'params ' => $ databases ['default ' ],
34+ ],
35+ ],
36+ ],
37+ 'application ' => [
38+ 'url ' => $ baseUrl ,
39+ ],
40+ 'routes ' => [
41+ 'page ' => [
42+ 'about ' => 'about ' ,
43+ 'who-we-are ' => 'who-we-are ' ,
44+ ],
45+ ],
46+ ];
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -112,14 +112,6 @@ private function getDoctrineConfig(): array
112112 ],
113113 ],
114114 ],
115- 'connection ' => [
116- 'orm_default ' => [
117- 'doctrine_mapping_types ' => [
118- UuidBinaryType::NAME => 'binary ' ,
119- UuidBinaryOrderedTimeType::NAME => 'binary ' ,
120- ],
121- ],
122- ],
123115 'driver ' => [
124116 // The default metadata driver aggregates all other drivers into a single one.
125117 // Override `orm_default` only if you know what you're doing.
@@ -137,8 +129,6 @@ private function getDoctrineConfig(): array
137129 ],
138130 'types ' => [
139131 UuidType::NAME => UuidType::class,
140- UuidBinaryType::NAME => UuidBinaryType::class,
141- UuidBinaryOrderedTimeType::NAME => UuidBinaryOrderedTimeType::class,
142132 ],
143133 ];
144134 }
You can’t perform that action at this time.
0 commit comments