PHP Class SensioLabs\Deptrac\OutputFormatter\GraphVizOutputFormatter

Inheritance: implements SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface
Show file Open project: sensiolabs-de/deptrac

Protected Properties

Property Type Description
$eventDispatcher

Public Methods

Method Description
configureOptions ( ) : OutputFormatterOption[]
finish ( DependencyContext $dependencyContext, Symfony\Component\Console\Output\OutputInterface $output, OutputFormatterInput $outputFormatterInput )
getName ( )

Private Methods

Method Description
calculateLayerDependencies ( SensioLabs\AstRunner\AstMap $astMap, DependencyResult $dependencyResult, SensioLabs\Deptrac\ClassNameLayerResolverInterface $classNameLayerResolver ) : array
calculateViolations ( array $violations ) : array

Method Details

configureOptions() public method

public configureOptions ( ) : OutputFormatterOption[]
return OutputFormatterOption[]

finish() public method

public finish ( DependencyContext $dependencyContext, Symfony\Component\Console\Output\OutputInterface $output, OutputFormatterInput $outputFormatterInput )
$dependencyContext SensioLabs\Deptrac\DependencyContext
$output Symfony\Component\Console\Output\OutputInterface
$outputFormatterInput OutputFormatterInput

getName() public method

public getName ( )

Property Details

$eventDispatcher protected property

protected $eventDispatcher