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

        foreach ($constants as $name => $value) {
            $line = sprintf($format, '+', $name);
            if ($indent >= 0) {
                $constantString .= $this->formatLine($line, $indent);
            } else {
                $constantString .= $line;
            }
        }
        return $constantString;
    }
protected function writeConstantElements($constants, $format = '%s %s\l', $indent = -1)
    {
        $constantString = '';

        foreach ($constants as $name => $value) {
            $line = sprintf($format, '+', $name);
            if ($indent >= 0) {
                $constantString .= $this->formatLine($line, $indent);
            } else {
                $constantString .= $line;
            }
        }
        return $constantString;
    }
protected function writeConstantElements ( $ constants , $ format = '%s %s\l' , $ indent = - 1 ) { $ constantString = '' ; foreach ( $ constants as $ name => $ value ) { $ line = sprintf ( $ format , '+' , $ name ) ; if ( $ indent >= 0 ) { $ constantString .= $ this -> formatLine ( $ line , $ indent ) ; } else { $ constantString .= $ line ; } } return $ constantString ; }
Prints class constants

@param ReflectionConstant[] $constants List of constant instance
@param string               $format    (optional) Constant formatter
@param int                  $indent    (optional) Indent multiplier

@return string
Prints class constants