private function getVisibilityStyle(\ReflectionMethod $method)
    {
        if ($method->isPublic()) {
            return self::IS_PUBLIC;
        } elseif ($method->isProtected()) {
            return self::IS_PROTECTED;
        } else {
            return self::IS_PRIVATE;
        }
    }
private function getVisibilityStyle(\ReflectionMethod $method)
    {
        if ($method->isPublic()) {
            return self::IS_PUBLIC;
        } elseif ($method->isProtected()) {
            return self::IS_PROTECTED;
        } else {
            return self::IS_PRIVATE;
        }
    }
private function getVisibilityStyle ( \ ReflectionMethod $ method ) { if ( $ method -> isPublic ( ) ) { return self :: IS_PUBLIC ; } elseif ( $ method -> isProtected ( ) ) { return self :: IS_PROTECTED ; } else { return self :: IS_PRIVATE ; } }
Get output style for the given method's visibility.

@param \ReflectionMethod $method

@return string
Get output style for the given method s visibility .