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

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

            $line = sprintf(
                $format,
                $visibility,
                $property->getName()
            );
            if ($indent >= 0) {
                $propertyString .= $this->formatLine($line, $indent);
            } else {
                $propertyString .= $line;
            }
        }
        return $propertyString;
    }
protected function writePropertyElements($properties, $format = '%s %s\l', $indent = -1)
    {
        $propertyString = '';

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

            $line = sprintf(
                $format,
                $visibility,
                $property->getName()
            );
            if ($indent >= 0) {
                $propertyString .= $this->formatLine($line, $indent);
            } else {
                $propertyString .= $line;
            }
        }
        return $propertyString;
    }
protected function writePropertyElements ( $ properties , $ format = '%s %s\l' , $ indent = - 1 ) { $ propertyString = '' ; foreach ( $ properties as $ property ) { if ( $ property -> isPrivate ( ) ) { $ visibility = '-' ; } elseif ( $ property -> isProtected ( ) ) { $ visibility = '#' ; } else { $ visibility = '+' ; } $ line = sprintf ( $ format , $ visibility , $ property -> getName ( ) ) ; if ( $ indent >= 0 ) { $ propertyString .= $ this -> formatLine ( $ line , $ indent ) ; } else { $ propertyString .= $ line ; } } return $ propertyString ; }
Prints class properties

@param ReflectionProperty[] $properties List of property instance
@param string               $format     (optional) Property formatter
@param int                  $indent     (optional) Indent multiplier

@return string
Prints class properties