2017 © Pedro Peláez
 

library retry

A simple PHP function used to retry failed operations.

image

bluefrg/retry

A simple PHP function used to retry failed operations.

  • Thursday, October 27, 2016
  • by bluefrg
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,448 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 11 % Grown

The README.md

Retry

A simple PHP function used to retry failed operations. Based on the work done by igorw. On a complete failure, the original exception will be thrown back rather than igorw's FailingTooHardException., (*1)

<?php
// retry an operation up to 3 times
$oUsr = Bluefrg/retry(3, function () use ($iId) {
    return User::find($iId);
});

Install

$ composer require bluefrg/retry

The Versions

27/10 2016

dev-master

9999999-dev

A simple PHP function used to retry failed operations.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

27/10 2016

1.0.0

1.0.0.0

A simple PHP function used to retry failed operations.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires