\Trismegiste\Mondrian\CommandLiskovCommand

LiskovCommand transforms a bunch of php files into a reduced digraph to the LSP violation to refactor (mandatory before ISP)

Design pattern : Template Method

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
getSubname()
getFullDesc()
processGraph()
configure()
execute()
getConfig()
initialize()
getPhpFinder()
$fineTuning
$phpfinder
$reportName
$reportFormat
N/A
No private methods found
No private properties found
N/A

Properties

$fineTuning

$fineTuning : 

Type

$phpfinder

$phpfinder : 

Type

$reportName

$reportName : 

Type

$reportFormat

$reportFormat : 

Type

Methods

getSubname()

getSubname() 

getFullDesc()

getFullDesc() 

processGraph()

processGraph(\Trismegiste\Mondrian\Graph\Graph  $graph, \Symfony\Component\Console\Output\OutputInterface  $output) : \Trismegiste\Mondrian\Graph\Graph

The method that does the job : it computes/decorates/redifines the graph passed in parameter.

Parameters

\Trismegiste\Mondrian\Graph\Graph $graph
\Symfony\Component\Console\Output\OutputInterface $output

Returns

\Trismegiste\Mondrian\Graph\Graph

the processed graph (the same or another)

configure()

configure() 

execute()

execute(\Symfony\Component\Console\Input\InputInterface  $input, \Symfony\Component\Console\Output\OutputInterface  $output) 

{@inheritDoc}

Parameters

\Symfony\Component\Console\Input\InputInterface $input
\Symfony\Component\Console\Output\OutputInterface $output

getConfig()

getConfig(string  $dir) : array

get the graph section of the configuration for this package

Parameters

string $dir

the root dir of the package

Returns

array

initialize()

initialize(\Symfony\Component\Console\Input\InputInterface  $input, \Symfony\Component\Console\Output\OutputInterface  $output) 

Inject parameters of the command

Parameters

\Symfony\Component\Console\Input\InputInterface $input
\Symfony\Component\Console\Output\OutputInterface $output

getPhpFinder()

getPhpFinder(  $directory,   $ignoreDir) 

Parameters

$directory
$ignoreDir