original_string: private function checkMethodExists($className, $methodName)
      {
          if (!$this->isMethodAvailable($className, $methodName)) {
              throw new Exception(Piwik::translate('General_ExceptionMethodNotFound', array($methodName, $className)));
          }
      }
code: private function checkMethodExists($className, $methodName)
      {
          if (!$this->isMethodAvailable($className, $methodName)) {
              throw new Exception(Piwik::translate('General_ExceptionMethodNotFound', array($methodName, $className)));
          }
      }
code_tokens: private function checkMethodExists ( $ className , $ methodName ) { if ( ! $ this -> isMethodAvailable ( $ className , $ methodName ) ) { throw new Exception ( Piwik :: translate ( 'General_ExceptionMethodNotFound' , array ( $ methodName , $ className ) ) ) ; } }
docstring: Checks that the method exists in the class
  
  @param string $className The class name
  @param string $methodName The method name
  @throws Exception If the method is not found
docstring_tokens: Checks that the method exists in the class