for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PHP version 7.1
*
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
namespace PhUml\Graphviz\Styles;
* It is a container for the partial files used to build the HTML label for the node
abstract class DigraphStyle
{
/** @var string */
protected $theme;
protected $attributes;
protected $methods;
public function __construct(string $theme = 'phuml')
$this->theme = "{$theme}.html.twig";
$this->setPartials();
}
public function attributes(): string
return $this->attributes;
public function methods(): string
return $this->methods;
public function theme(): string
return $this->theme;
abstract protected function setPartials(): void;