for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/**
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
namespace PhUml\Graphviz\Builders;
use PhUml\Code\ClassDefinition;
use PhUml\Code\Codebase;
use PhUml\Graphviz\Edge;
* It discovers associations between classes/interfaces by inspecting
*
* 1. The properties of a class
* 2. The parameters injected through the constructor of a class
* It creates edges between the definitions when appropriate
interface EdgesBuilder
{
/** @return Edge[]*/
public function fromProperties(ClassDefinition $class, Codebase $codebase): array;
/** @return Edge[] */
public function fromConstructor(ClassDefinition $class, Codebase $codebase): array;
}