platform/api/symfony/Component/Messenger/Retry/RetryStrategyInterface.yaml

33 lines
920 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
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: []