Skip to content

Commit f696a8e

Browse files
committed
Docs chapter 2
Signed-off-by: Howriq <[email protected]>
1 parent fb963f2 commit f696a8e

21 files changed

+540
-5
lines changed

docs/book/v1/chapter-1.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The first step is to add alongside your current packages the required entries for our Doctrine installation.
66
We would add the following to our `composer.json` file located in our root folder:
77

8-
![composer.json](images/composer.png)
8+
![composer.json](images/chapter-1/composer.png)
99

1010
```text
1111
"dotkernel/dot-cache": "^4.0",
@@ -47,7 +47,7 @@ After successfully installing our dependencies, we now need to configure our Doc
4747

4848
In the file `config/autoload/local.php` the structure would be updated like this:
4949

50-
![local.php](images/local.png)
50+
![local.php](images/chapter-1/local.png)
5151

5252
```php
5353
$databases = [
@@ -84,9 +84,9 @@ This package takes all the provided configs from the `config/config.php` file an
8484

8585
Our new `src/App/src/ConfigProvider.php` class would look like this now:
8686

87-
![config-provider-1](images/config-provider-1.png)
87+
![config-provider-1](images/chapter-1/config-provider-1.png)
8888

89-
![config-provider-2](images/config-provider-2.png)
89+
![config-provider-2](images/chapter-1/config-provider-2.png)
9090

9191
```php
9292
public function __invoke(): array
@@ -165,7 +165,7 @@ private function getDoctrineConfig(): array
165165
Now that everything has been configured we only need to do one last thing, to create an executable for the Doctrine CLI.
166166
In our case we will create a `doctrine` file inside the application's `bin` directory:
167167

168-
![doctrine](images/doctrine.png)
168+
![doctrine](images/chapter-1/doctrine.png)
169169

170170
```php
171171
#!/usr/bin/env php

0 commit comments

Comments
 (0)