lib/Benchmark/Remote/ReflectionHierarchy.php
public function hasStaticMethod($name)
    {
        foreach ($this->reflectionClasses as $reflectionClass) {
            if (isset($reflectionClass->methods[$name])) {
                $method = $reflectionClass->methods[$name];

                if ($method->isStatic) {
                    return true;
                }

                break;
            }
        }

        return false;
    }
public function hasStaticMethod($name)
    {
        foreach ($this->reflectionClasses as $reflectionClass) {
            if (isset($reflectionClass->methods[$name])) {
                $method = $reflectionClass->methods[$name];

                if ($method->isStatic) {
                    return true;
                }

                break;
            }
        }

        return false;
    }
public function hasStaticMethod ( $ name ) { foreach ( $ this -> reflectionClasses as $ reflectionClass ) { if ( isset ( $ reflectionClass -> methods [ $ name ] ) ) { $ method = $ reflectionClass -> methods [ $ name ] ; if ( $ method -> isStatic ) { return true ; } break ; } } return false ; }
Return true if the class hierarchy contains the named static method.

@param string $name

@return bool
Return true if the class hierarchy contains the named static method .