Skip to content

Commit 6f4e609

Browse files
committed
fixed formatting
1 parent 6d66289 commit 6f4e609

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ $action->setNonRecurring()->setActOn($carbon)->save();
171171
#### Step - 1 :
172172
<details>
173173
<summary>Some event happend and a task is created to execute on future day & time</summary>
174+
174175
```php
175176
ModelAction::actWith('MAIL')
176177
->forModel($application)
@@ -187,6 +188,7 @@ ModelAction::actWith('MAIL')
187188
#### Step - 2 :
188189
<details>
189190
<summary>admin decides to alter the task</summary>
191+
190192
```php
191193
public function modifyScheduledTask() {
192194
$this->validate();
@@ -213,6 +215,7 @@ public function cancelSchedule() {
213215
#### Step - 3 :
214216
<details>
215217
<summary>receiver class gets task payload & passes the task to classes based on task action (for this example sending email)</summary>
218+
216219
```php
217220
<?php
218221

@@ -240,6 +243,7 @@ class ScheduledActionReceiver
240243
#### Step - 4 :
241244
<details>
242245
<summary>email sending task payload gets received via previous receiver class and mail is sent</summary>
246+
243247
```php
244248
class MailTaskHandler
245249
{

0 commit comments

Comments
 (0)