public function getStatus()
    {
        $numberOfReporters = count($this->reporters);
        for ($i = 0; $i < $numberOfReporters; $i++) {
            if (! $this->reporters[$i]->getStatus()) {
                return false;
            }
        }

        return true;
    }
public function getStatus()
    {
        $numberOfReporters = count($this->reporters);
        for ($i = 0; $i < $numberOfReporters; $i++) {
            if (! $this->reporters[$i]->getStatus()) {
                return false;
            }
        }

        return true;
    }
public function getStatus ( ) { $ numberOfReporters = count ( $ this -> reporters ) ; for ( $ i = 0 ; $ i < $ numberOfReporters ; $ i ++ ) { if ( ! $ this -> reporters [ $ i ] -> getStatus ( ) ) { return false ; } } return true ; }
Accessor for current status.
Will be false if there have been any failures or exceptions.
If any reporter reports a failure, the whole suite fails.

@return bool        True if no failures.
Accessor for current status . Will be false if there have been any failures or exceptions . If any reporter reports a failure the whole suite fails .