PHP Classes

File: src/Enum/CircuitState.php

Recommend this page to a friend!
  Classes of Carlos Artur Curvelo da Matos   Alecto - Circuit Breaker Pattern All-in-One Implementation   src/Enum/CircuitState.php   Download  
File: src/Enum/CircuitState.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Alecto - Circuit Breaker Pattern All-in-One Implementation
Execute actions using the Circuit Breaker pattern
Author: By
Last change:
Date: 17 days ago
Size: 174 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

namespace
Circuit\Enum;

enum CircuitState: string
{
    case
CLOSED = 'CLOSED';
    case
OPEN = 'OPEN';
    case
HALF_OPEN = 'HALF_OPEN';
}