original_string: public function getValidators()
      {
          $allValidatorData = $this->validators->
                                              toArray(PriorityQueue::EXTR_DATA);
          foreach ($allValidatorData as $key => $validatorData) {
              $allValidatorData[$key] = $validatorData['instance'];
          }
          return $allValidatorData;
      }
code: public function getValidators()
      {
          $allValidatorData = $this->validators->
                                              toArray(PriorityQueue::EXTR_DATA);
          foreach ($allValidatorData as $key => $validatorData) {
              $allValidatorData[$key] = $validatorData['instance'];
          }
          return $allValidatorData;
      }
code_tokens: public function getValidators ( ) { $ allValidatorData = $ this -> validators -> toArray ( PriorityQueue :: EXTR_DATA ) ; foreach ( $ allValidatorData as $ key => $ validatorData ) { $ allValidatorData [ $ key ] = $ validatorData [ 'instance' ] ; } return $ allValidatorData ; }
docstring: Returns array of all validators.
  
  @return PriorityQueue
docstring_tokens: Returns array of all validators .