1 | <?php |
||
23 | class Handler |
||
24 | { |
||
25 | /** |
||
26 | * $config. |
||
27 | * |
||
28 | * @var array |
||
29 | */ |
||
30 | protected $config; |
||
31 | |||
32 | /** |
||
33 | * Constructor. |
||
34 | * |
||
35 | * @param array $config |
||
36 | */ |
||
37 | public function __construct($config) |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function isClosed($circuit) |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function isOpen($circuit) |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function isHalfOpen($circuit) |
||
66 | } |
||
67 |