Piwik\API\Proxy::checkIfMethodIsAvailable PHP 메소드

checkIfMethodIsAvailable() 보호된 메소드

protected checkIfMethodIsAvailable ( ReflectionMethod $method ) : boolean
$method ReflectionMethod
리턴 boolean
    protected function checkIfMethodIsAvailable(ReflectionMethod $method)
    {
        if (!$method->isPublic() || $method->isConstructor() || $method->getName() === 'getInstance') {
            return false;
        }
        if ($this->hideIgnoredFunctions && false !== strstr($method->getDocComment(), '@ignore')) {
            return false;
        }
        if ($this->shouldHideAPIMethod($method->getDocComment())) {
            return false;
        }
        return true;
    }