original_string: protected function _compareData($dataToCheck, $key, $originalData, $comparator)
      {
          if (is_callable($dataToCheck)) {
              return call_user_func_array($dataToCheck, [$key, $originalData, $this]);
          }
  
          return $this->_comparator($originalData, $dataToCheck, $comparator);
      }
code: protected function _compareData($dataToCheck, $key, $originalData, $comparator)
      {
          if (is_callable($dataToCheck)) {
              return call_user_func_array($dataToCheck, [$key, $originalData, $this]);
          }
  
          return $this->_comparator($originalData, $dataToCheck, $comparator);
      }
code_tokens: protected function _compareData ( $ dataToCheck , $ key , $ originalData , $ comparator ) { if ( is_callable ( $ dataToCheck ) ) { return call_user_func_array ( $ dataToCheck , [ $ key , $ originalData , $ this ] ) ; } return $ this -> _comparator ( $ originalData , $ dataToCheck , $ comparator ) ; }
docstring: compare given data with possibility to use callable functions to check data
  
  @param mixed $dataToCheck
  @param string $key
  @param mixed $originalData
  @param string $comparator
  @return bool
docstring_tokens: compare given data with possibility to use callable functions to check data