PHPStan\Reflection\Php\PhpClassReflectionExtension::hasMethod PHP Method

hasMethod() public method

public hasMethod ( ClassReflection $classReflection, string $methodName ) : boolean
$classReflection PHPStan\Reflection\ClassReflection
$methodName string
return boolean
    public function hasMethod(ClassReflection $classReflection, string $methodName) : bool
    {
        return $classReflection->getNativeReflection()->hasMethod($methodName);
    }