Skip to content

Commit b2f1e3c

Browse files
committed
IHF: call_in_background additional examples.
1 parent 3a9c217 commit b2f1e3c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@ Provides Laravel-specific and pure PHP helper functions.
5252
5353
Calls artisan console command in background, with optional `before` and `after` sub-commands:
5454
```php
55-
call_in_background("foo:bar baz", 'sleep 0.3');
55+
call_in_background('foo');
56+
57+
// "php artisan foo" would be called in background
58+
```
59+
60+
```php
61+
call_in_background('foo:bar baz', 'sleep 0.3');
5662
5763
// "sleep 0.3 && php artisan foo:bar baz" would be called in background
5864
```

0 commit comments

Comments
 (0)