Пример #1
0
 /**
  * {@inheritdoc}
  * Returns a clone of the wrapped envelope, not itself.
  */
 public function retry()
 {
     return $this->wrapped->retry();
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public function canRetry(Envelope $env)
 {
     return $env->attempts() < $this->maxAttempts;
 }
Пример #3
0
 /**
  * @inheritDoc
  */
 public function retry($queueName, Envelope $envelope)
 {
     return $envelope->retry();
 }
Пример #4
0
 /**
  * {@inheritdoc}
  */
 public function retry($queueName, Envelope $envelope)
 {
     $e = $envelope->retry();
     $this->enqueueEnvelope($queueName, $e);
     return $e;
 }