Skip to content

Commit 6d66289

Browse files
committed
all examples wrapped with details summary
1 parent d86df73 commit 6d66289

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ ModelAction::actWith('MAIL')
184184
```
185185
</details>
186186

187-
###### Step - 2 : admin decides to alter the task
187+
#### Step - 2 :
188+
<details>
189+
<summary>admin decides to alter the task</summary>
188190
```php
189191
public function modifyScheduledTask() {
190192
$this->validate();
@@ -206,8 +208,11 @@ public function cancelSchedule() {
206208
$this->info('schedule cancelled');
207209
}
208210
```
211+
</details>
209212

210-
###### Step - 3 : receiver class gets task payload & passes the task to classes based on task action (for this example sending email)
213+
#### Step - 3 :
214+
<details>
215+
<summary>receiver class gets task payload & passes the task to classes based on task action (for this example sending email)</summary>
211216
```php
212217
<?php
213218

@@ -230,7 +235,11 @@ class ScheduledActionReceiver
230235
}
231236
}
232237
```
233-
###### Step - 4 : email sending task payload gets received via previous receiver class and mail is sent
238+
</details>
239+
240+
#### Step - 4 :
241+
<details>
242+
<summary>email sending task payload gets received via previous receiver class and mail is sent</summary>
234243
```php
235244
class MailTaskHandler
236245
{
@@ -267,6 +276,7 @@ class MailTaskHandler
267276
}
268277
}
269278
```
279+
</details>
270280

271281
## Changelog
272282

0 commit comments

Comments
 (0)