Skip to content

Commit ed23797

Browse files
committed
Update README.md
1 parent 1199fe5 commit ed23797

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,23 @@ or
4545
// $output = 'hello world'
4646
```
4747

48+
or
49+
```php
50+
try {
51+
Command::exec('locate {parody}',
52+
[
53+
'parody' => [
54+
'pink_unicorn'
55+
]
56+
]
57+
);
58+
59+
echo 'unicorn's was found!';
60+
} catch (\Exception $e) {
61+
echo 'cant find unicorn (';
62+
}
63+
```
64+
4865
## Testing
4966

5067
``` bash

0 commit comments

Comments
 (0)