8000 doc(README): Add autowire sample · thewalkingcoder/TwcBusBundle@62f204c · GitHub
[go: up one dir, main page]

Skip to content

Commit 62f204c

Browse files
author
julien
committed
doc(README): Add autowire sample
1 parent e6a3201 commit 62f204c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ CQRS (Command Query Responsibility Segregation) it's an architectural pattern th
1717
symfony powerfull DI with autowire and autoconfigure enable
1818

1919
```
20+
services:
21+
22+
# default configuration for services in *this* file
23+
_defaults:
24+
autowire: true # Automatically injects dependencies in your services.
25+
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
26+
public: false
2027
2128
```
2229

docs/cqrs_fr.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ class EmployeeController extends AbstractController
336336

337337
Même principe pour une query
338338

339-
340339
```
341340
342341
namespace App\Employee\Presenter;

0 commit comments

Comments
 (0)
0