Hprose\Service::getDeclaredOnlyStaticMethods PHP Method

getDeclaredOnlyStaticMethods() private static method

private static getDeclaredOnlyStaticMethods ( $class )
    private static function getDeclaredOnlyStaticMethods($class)
    {
        $methods = self::getDeclaredOnlyMethods($class);
        $instanceMethods = array();
        foreach ($methods as $name) {
            $method = new ReflectionMethod($class, $name);
            if ($method->isPublic() && $method->isStatic() && !$method->isAbstract()) {
                $instanceMethods[] = $name;
            }
        }
        if (empty($instanceMethods)) {
            throw new Exception('There is no pubic static method in class $class.');
        }
        return $instanceMethods;
    }