Skip to content

Commit ced7b7b

Browse files
author
julien
committed
fix(composer): append symfony-bundle type in composer.json
1 parent e283678 commit ced7b7b

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Thank's [@matGiWeb](https://twitter.com/matGiWeb) for you approach with [cqrs-sk
1212

1313
CQRS (Command Query Responsibility Segregation) it's an architectural pattern that aims to separate the **writing** (Command) and **reading** (Query).
1414

15+
## Pré-requis
16+
17+
Autowiring
1518

1619
## Installation
1720

@@ -21,11 +24,20 @@ composer require twc/bus-bundle
2124
2225
```
2326

27+
Active bundle
28+
29+
```
30+
//config/bundle.php
31+
32+
Twc\BusBundle\TwcBusBundle::class => ['all' => true]
33+
34+
```
35+
2436
## How to use ?
2537

2638
You only have to implement the desired interface
2739

28-
### About commands
40+
### About Commands
2941

3042
| topic | Interface |
3143
|--------|-----------|
@@ -47,7 +59,8 @@ You only have to implement the desired interface
4759
| Query | Twc\BusBundle\Query\Interfaces\Query |
4860
| QueryHandler | Twc\BusBundle\Event\Interfaces\QueryHandler |
4961

50-
That's all !
62+
That's all !
63+
5164
CommandBus, EventBus, QueryBus will do the work, thank's Dependencies Injection and autowiring in symfony.
5265

5366

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "twc/bus-bundle",
33
"description": "Provide simple way to implement Message Bus concept in Symfony 4",
4+
"type": "symfony-bundle",
45
"keywords": [
56
"symfony",
67
"symfony 4",

0 commit comments

Comments
 (0)