src/OrChain.php
public function getValidators()
    {
        $allValidatorData = $this->validators->
                                            toArray(PriorityQueue::EXTR_DATA);
        foreach ($allValidatorData as $key => $validatorData) {
            $allValidatorData[$key] = $validatorData['instance'];
        }
        return $allValidatorData;
    }
public function getValidators()
    {
        $allValidatorData = $this->validators->
                                            toArray(PriorityQueue::EXTR_DATA);
        foreach ($allValidatorData as $key => $validatorData) {
            $allValidatorData[$key] = $validatorData['instance'];
        }
        return $allValidatorData;
    }
public function getValidators ( ) { $ allValidatorData = $ this -> validators -> toArray ( PriorityQueue :: EXTR_DATA ) ; foreach ( $ allValidatorData as $ key => $ validatorData ) { $ allValidatorData [ $ key ] = $ validatorData [ 'instance' ] ; } return $ allValidatorData ; }
Returns array of all validators.

@return PriorityQueue
Returns array of all validators .