Skip to content

Commit

Permalink
Readme: fix extension name in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jankonas authored and f3l1x committed Jul 22, 2024
1 parent 6a97d89 commit 15bd777
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Take a look at real **Nettrine DBAL** configuration example at [contributte/weba
Here is an example of how to register custom type for [UUID](https://github.com/ramsey/uuid-doctrine).

```neon
dbal:
nettrine.dbal:
connection:
types:
uuid: Ramsey\Uuid\Doctrine\UuidType
Expand Down Expand Up @@ -172,7 +172,7 @@ Alternatively, specify your application root path under the `debug.sourcePaths`
Middlewares are the way how to extend doctrine library or hook to special events.

```neon
dbal:
nettrine.dbal:
connection:
middlewares:
- MyMiddleware
Expand Down Expand Up @@ -220,7 +220,7 @@ final class MyDriver extends AbstractDriverMiddleware
To log all queries you should define your own middleware or you can use `Doctrine\DBAL\Logging\Middleware`.

```neon
dbal:
nettrine.dbal:
configuration:
middlewares:
logger: Doctrine\DBAL\Logging\Middleware(MyLogger())
Expand All @@ -230,7 +230,7 @@ You can try our prepared loggers.


```neon
dbal:
nettrine.dbal:
configuration:
middlewares:
# Write logs to file
Expand Down

0 comments on commit 15bd777

Please sign in to comment.