PHP Class SensioLabs\Deptrac\Command\AnalyzeCommand

Inheritance: extends Symfony\Component\Console\Command\Command
ファイルを表示 Open project: sensiolabs-de/deptrac

Protected Properties

Property Type Description
$astRunner
$collectorFactory
$dispatcher
$formatterFactory
$rulesetEngine

Public Methods

Method Description
__construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, SensioLabs\AstRunner\AstRunner $astRunner, OutputFormatterFactory $formatterFactory, RulesetEngine $rulesetEngine, CollectorFactory $collectorFactory )

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
printBanner ( Symfony\Component\Console\Output\OutputInterface $output )
printCollectViolations ( Symfony\Component\Console\Output\OutputInterface $output )
printConfigMissingError ( Symfony\Component\Console\Output\OutputInterface $output, $configurationLoader )
printEmitEnd ( Symfony\Component\Console\Output\OutputInterface $output )
printEmitStart ( Symfony\Component\Console\Output\OutputInterface $output, $dependencyEmitter )
printFlattenEnd ( Symfony\Component\Console\Output\OutputInterface $output )
printFlattenStart ( Symfony\Component\Console\Output\OutputInterface $output )
printFormatterException ( Symfony\Component\Console\Output\OutputInterface $output, $formatterName, Exception $exception )
printFormattingStart ( Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
collectFiles ( Configuration $configuration )

Method Details

__construct() public method

public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, SensioLabs\AstRunner\AstRunner $astRunner, OutputFormatterFactory $formatterFactory, RulesetEngine $rulesetEngine, CollectorFactory $collectorFactory )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$astRunner SensioLabs\AstRunner\AstRunner
$formatterFactory SensioLabs\Deptrac\OutputFormatterFactory
$rulesetEngine SensioLabs\Deptrac\RulesetEngine
$collectorFactory SensioLabs\Deptrac\CollectorFactory

configure() protected method

protected configure ( )

execute() protected method

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

printBanner() protected method

protected printBanner ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

printCollectViolations() protected method

protected printCollectViolations ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

printConfigMissingError() protected method

protected printConfigMissingError ( Symfony\Component\Console\Output\OutputInterface $output, $configurationLoader )
$output Symfony\Component\Console\Output\OutputInterface
$configurationLoader

printEmitEnd() protected method

protected printEmitEnd ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

printEmitStart() protected method

protected printEmitStart ( Symfony\Component\Console\Output\OutputInterface $output, $dependencyEmitter )
$output Symfony\Component\Console\Output\OutputInterface
$dependencyEmitter

printFlattenEnd() protected method

protected printFlattenEnd ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

printFlattenStart() protected method

protected printFlattenStart ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

printFormatterException() protected method

protected printFormatterException ( Symfony\Component\Console\Output\OutputInterface $output, $formatterName, Exception $exception )
$output Symfony\Component\Console\Output\OutputInterface
$formatterName
$exception Exception

printFormattingStart() protected method

protected printFormattingStart ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

Property Details

$astRunner protected_oe property

protected $astRunner

$collectorFactory protected_oe property

protected $collectorFactory

$dispatcher protected_oe property

protected $dispatcher

$formatterFactory protected_oe property

protected $formatterFactory

$rulesetEngine protected_oe property

protected $rulesetEngine