Piwik\API\Proxy::checkMethodExists PHP Méthode

checkMethodExists() private méthode

Checks that the method exists in the class
private checkMethodExists ( string $className, string $methodName )
$className string The class name
$methodName string The method name
    private function checkMethodExists($className, $methodName)
    {
        if (!$this->isMethodAvailable($className, $methodName)) {
            throw new Exception(Piwik::translate('General_ExceptionMethodNotFound', array($methodName, $className)));
        }
    }