Update readme with non redundant example (concat) (#111)
This commit is contained in:
parent
3e6700d157
commit
d1b060749e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ Default functions:
|
|||
|
||||
Add custom function to executor:
|
||||
```php
|
||||
$executor->addFunction('abs', function($arg) {return abs($arg);});
|
||||
$executor->addFunction('concat', function($arg1, $arg2) {return $arg1 . $arg2;});
|
||||
```
|
||||
Optional parameters:
|
||||
```php
|
||||
|
|
Loading…
Reference in a new issue