api/symfony/Component/Messenger/Retry/RetryStrategyInterface.yaml
2024-09-26 02:03:21 -07:00

32 lines
920 B
YAML

name: RetryStrategyInterface
class_comment: null
dependencies:
- name: Envelope
type: class
source: Symfony\Component\Messenger\Envelope
properties: []
methods:
- name: isRetryable
visibility: public
parameters:
- name: message
- name: throwable
default: 'null'
comment: "# * @author Fabien Potencier <fabien@symfony.com>\n# * @author Gr\xE9\
goire Pineau <lyrixx@lyrixx.info>\n# * @author Ryan Weaver <ryan@symfonycasts.com>\n\
# */\n# interface RetryStrategyInterface\n# {\n# /**\n# * @param \\Throwable|null\
\ $throwable The cause of the failed handling"
- name: getWaitingTime
visibility: public
parameters:
- name: message
- name: throwable
default: 'null'
comment: '# * @param \Throwable|null $throwable The cause of the failed handling
# *
# * @return int The time to delay/wait in milliseconds'
traits:
- Symfony\Component\Messenger\Envelope
interfaces: []