Symfony\Component\Workflow\Dumper\GraphvizDumper::addAttributes PHP Méthode

addAttributes() private méthode

private addAttributes ( array $attributes )
$attributes array
    private function addAttributes(array $attributes)
    {
        $code = array();
        foreach ($attributes as $k => $v) {
            $code[] = sprintf('%s="%s"', $k, $v);
        }
        return $code ? ', ' . implode(', ', $code) : '';
    }