Свойство | 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. |
Méthode | Description | |
---|---|---|
__construct ( callable $callback, array $params = [], boolean $muted = false ) | Inject machine dependencies. | |
execute ( ) : |
Execute the callback and retrieve a result. |
Méthode | 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 ( ) : |
||
Résultat |
protected executeCallback ( ) : void | ||
Résultat | void |
protected executeMutedCallback ( ) : void | ||
Résultat | void |
protected setEndValues ( ) : void | ||
Résultat | void |
protected setStartValues ( ) : void | ||
Résultat | void |
protected callable $callback | ||
Résultat | callable |
protected array $params | ||
Résultat | array |