Skip to content

Commit c54c565

Browse files
committed
fix doc
1 parent 1b90a2a commit c54c565

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
> This package is under development. Api classes of the app can be changed.
2+
13
<p align="center">
24
<h1 align="center">PHP Simple Queue</h1>
35
</p>

docs/guide/send_message.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ $config = \Simple\Queue\Config::getDefault()
4444
**Create connection:**
4545
-------------------------------
4646

47-
Create a new connection:
47+
You can get a DBAL Connection through the Doctrine\DBAL\DriverManager class.
4848

4949
```php
5050
$connection = \Doctrine\DBAL\DriverManager::getConnection([
@@ -70,7 +70,7 @@ $connection = \Doctrine\DBAL\DriverManager::getConnection([
7070

7171
<br>
7272

73-
**Send a message to queue :**
73+
**Send a message to queue:**
7474
-------------------------------
7575

7676
```php
@@ -106,10 +106,14 @@ $producer->dispatch(MyJob::class, ['key' => 'value']);
106106

107107
<br>
108108

109+
> You can send a message to the queue from anywhere in the application where available $producer.
110+
111+
<br>
112+
109113
**Message**
110114
----------------------
111115

112-
Description of the base entity [Message](../../src/Message.php)
116+
Description of the base entity [Message](../../src/Message.php).
113117

114118
```php
115119

0 commit comments

Comments
 (0)