library/Odesk/Phystrix/CircuitBreaker.php
public function markSuccess()
    {
        if ($this->stateStorage->isCircuitOpen($this->commandKey)) {
            $this->stateStorage->closeCircuit($this->commandKey);
            // may cause some stats to be removed from reporting, see http://goo.gl/dtHN34
            $this->metrics->resetCounter();
        }
    }
public function markSuccess()
    {
        if ($this->stateStorage->isCircuitOpen($this->commandKey)) {
            $this->stateStorage->closeCircuit($this->commandKey);
            // may cause some stats to be removed from reporting, see http://goo.gl/dtHN34
            $this->metrics->resetCounter();
        }
    }
public function markSuccess ( ) { if ( $ this -> stateStorage -> isCircuitOpen ( $ this -> commandKey ) ) { $ this -> stateStorage -> closeCircuit ( $ this -> commandKey ) ; // may cause some stats to be removed from reporting, see http://goo.gl/dtHN34 $ this -> metrics -> resetCounter ( ) ; } }
Marks a successful request

@link http://goo.gl/dtHN34
@return void
Marks a successful request