|
5 | 5 | The first step is to add alongside your current packages the required entries for our Doctrine installation. |
6 | 6 | We would add the following to our `composer.json` file located in our root folder: |
7 | 7 |
|
8 | | - |
| 8 | + |
9 | 9 |
|
10 | 10 | ```text |
11 | 11 | "dotkernel/dot-cache": "^4.0", |
@@ -47,7 +47,7 @@ After successfully installing our dependencies, we now need to configure our Doc |
47 | 47 |
|
48 | 48 | In the file `config/autoload/local.php` the structure would be updated like this: |
49 | 49 |
|
50 | | - |
| 50 | + |
51 | 51 |
|
52 | 52 | ```php |
53 | 53 | $databases = [ |
@@ -84,9 +84,9 @@ This package takes all the provided configs from the `config/config.php` file an |
84 | 84 |
|
85 | 85 | Our new `src/App/src/ConfigProvider.php` class would look like this now: |
86 | 86 |
|
87 | | - |
| 87 | + |
88 | 88 |
|
89 | | - |
| 89 | + |
90 | 90 |
|
91 | 91 | ```php |
92 | 92 | public function __invoke(): array |
@@ -165,7 +165,7 @@ private function getDoctrineConfig(): array |
165 | 165 | Now that everything has been configured we only need to do one last thing, to create an executable for the Doctrine CLI. |
166 | 166 | In our case we will create a `doctrine` file inside the application's `bin` directory: |
167 | 167 |
|
168 | | - |
| 168 | + |
169 | 169 |
|
170 | 170 | ```php |
171 | 171 | #!/usr/bin/env php |
|
0 commit comments