Property | Type | Description | |
---|---|---|---|
$callback | callable | The callback to execute. | |
$muted | boolean | Should exceptions be muted. | |
$params | array | Parameters to provide to the callback. | |
$result | The result instance. |
Method | Description | |
---|---|---|
__construct ( callable $callback, array $params = [], boolean $muted = false ) | Inject machine dependencies. | |
execute ( ) : |
Execute the callback and retrieve a result. |
Method | Description | |
---|---|---|
executeCallback ( ) : void | Execute the callback with parameters. | |
executeMutedCallback ( ) : void | Execute the callback, but swallow exceptions. | |
setEndValues ( ) : void | Set values after the callback has executed. | |
setStartValues ( ) : void | Set values before callback is executed. |
public execute ( ) : |
||
return |
protected executeCallback ( ) : void | ||
return | void |
protected executeMutedCallback ( ) : void | ||
return | void |
protected setEndValues ( ) : void | ||
return | void |
protected setStartValues ( ) : void | ||
return | void |
protected callable $callback | ||
return | callable |
protected array $params | ||
return | array |