$strategy
$strategy : \Cake\Core\Retry\RetryStrategyInterface
The strategy to follow should the executed action fail.
Allows any action to be retried in case of an exception.
This class can be parametrized with a strategy, which will be followed to determine whether or not the action should be retried.
$strategy : \Cake\Core\Retry\RetryStrategyInterface
The strategy to follow should the executed action fail.
__construct(\Cake\Core\Retry\RetryStrategyInterface $strategy, integer $retries = 1)
Creates the CommandRetry object with the given strategy and retry count
\Cake\Core\Retry\RetryStrategyInterface | $strategy | The strategy to follow should the action fail |
integer | $retries | The number of times the action has been already called |
Loading…