├── .circleci └── config.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── src ├── Adapter │ ├── APCu.php │ ├── AdapterInterface.php │ ├── Dummy.php │ └── Redis.php ├── CircuitBreaker.php ├── CircuitBreaker │ └── Factory.php └── CircuitBreakerInterface.php └── tests ├── Adapter ├── DummyTest.php └── RedisTest.php ├── CircuitBreakerTest.php └── Factory └── FactoryTest.php /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | coverage.xml 3 | composer.lock 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Adapter/APCu.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/src/Adapter/APCu.php -------------------------------------------------------------------------------- /src/Adapter/AdapterInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/src/Adapter/AdapterInterface.php -------------------------------------------------------------------------------- /src/Adapter/Dummy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/src/Adapter/Dummy.php -------------------------------------------------------------------------------- /src/Adapter/Redis.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/src/Adapter/Redis.php -------------------------------------------------------------------------------- /src/CircuitBreaker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/src/CircuitBreaker.php -------------------------------------------------------------------------------- /src/CircuitBreaker/Factory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/src/CircuitBreaker/Factory.php -------------------------------------------------------------------------------- /src/CircuitBreakerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/src/CircuitBreakerInterface.php -------------------------------------------------------------------------------- /tests/Adapter/DummyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/tests/Adapter/DummyTest.php -------------------------------------------------------------------------------- /tests/Adapter/RedisTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/tests/Adapter/RedisTest.php -------------------------------------------------------------------------------- /tests/CircuitBreakerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/tests/CircuitBreakerTest.php -------------------------------------------------------------------------------- /tests/Factory/FactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aguimaraes/circuit-breaker/HEAD/tests/Factory/FactoryTest.php --------------------------------------------------------------------------------