src/Bartlett/UmlWriter/Processor/AbstractProcessor.php
protected function writeMethodElements($methods, $format = '%s %s()\l', $indent = -1)
    {
        $methodString = '';

        foreach ($methods as $method) {
            if ($method->isPrivate()) {
                $visibility = '-';
            } elseif ($method->isProtected()) {
                $visibility = '#';
            } else {
                $visibility = '+';
            }

            if ($method->isStatic()) {
                $modifier = '<u>%s</u>';
            } elseif ($method->isAbstract()) {
                $modifier = '<i>%s</i>';
            } else {
                $modifier = '%s';
            }

            $line = sprintf(
                $format,
                $visibility,
                sprintf($modifier, $method->getShortName())
            );
            if ($indent >= 0) {
                $methodString .= $this->formatLine($line, $indent);
            } else {
                $methodString .= $line;
            }
        }
        return $methodString;
    }
protected function writeMethodElements($methods, $format = '%s %s()\l', $indent = -1)
    {
        $methodString = '';

        foreach ($methods as $method) {
            if ($method->isPrivate()) {
                $visibility = '-';
            } elseif ($method->isProtected()) {
                $visibility = '#';
            } else {
                $visibility = '+';
            }

            if ($method->isStatic()) {
                $modifier = '<u>%s</u>';
            } elseif ($method->isAbstract()) {
                $modifier = '<i>%s</i>';
            } else {
                $modifier = '%s';
            }

            $line = sprintf(
                $format,
                $visibility,
                sprintf($modifier, $method->getShortName())
            );
            if ($indent >= 0) {
                $methodString .= $this->formatLine($line, $indent);
            } else {
                $methodString .= $line;
            }
        }
        return $methodString;
    }
protected function writeMethodElements ( $ methods , $ format = '%s %s()\l' , $ indent = - 1 ) { $ methodString = '' ; foreach ( $ methods as $ method ) { if ( $ method -> isPrivate ( ) ) { $ visibility = '-' ; } elseif ( $ method -> isProtected ( ) ) { $ visibility = '#' ; } else { $ visibility = '+' ; } if ( $ method -> isStatic ( ) ) { $ modifier = '<u>%s</u>' ; } elseif ( $ method -> isAbstract ( ) ) { $ modifier = '<i>%s</i>' ; } else { $ modifier = '%s' ; } $ line = sprintf ( $ format , $ visibility , sprintf ( $ modifier , $ method -> getShortName ( ) ) ) ; if ( $ indent >= 0 ) { $ methodString .= $ this -> formatLine ( $ line , $ indent ) ; } else { $ methodString .= $ line ; } } return $ methodString ; }
Prints class methods

@param ReflectionMethod[] $methods List of method instance
@param string             $format  (optional) Method formatter
@param int                $indent  (optional) Indent multiplier

@return string
Prints class methods