PHP Class PHPSpec2\Console\Command\RunCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Afficher le fichier Open project: phpspec/phpspec2

Méthodes publiques

Méthode Description
__construct ( EventDispatcher $dispatcher ) Initializes command.

Méthodes protégées

Méthode Description
configureAdditionalListeners ( $srcPath )
createArgumentsUnwrapper ( )
createFormatter ( $format, PHPSpec2\Formatter\Presenter\PresenterInterface $presenter, StatisticsCollector $collector )
createLocator ( )
createMatchersCollection ( PHPSpec2\Formatter\Presenter\PresenterInterface $presenter, ArgumentsUnwrapper $unwrapper )
createMocker ( )
createPresenter ( )
createRunner ( MatchersCollection $matchers, PHPSpec2\Mocker\MockerInterface $mocker, ArgumentsUnwrapper $unwrapper )
createStatisticsCollector ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Method Details

__construct() public méthode

Initializes command.
public __construct ( EventDispatcher $dispatcher )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcher

configureAdditionalListeners() protected méthode

protected configureAdditionalListeners ( $srcPath )

createArgumentsUnwrapper() protected méthode

protected createArgumentsUnwrapper ( )

createFormatter() protected méthode

protected createFormatter ( $format, PHPSpec2\Formatter\Presenter\PresenterInterface $presenter, StatisticsCollector $collector )
$presenter PHPSpec2\Formatter\Presenter\PresenterInterface
$collector PHPSpec2\Listener\StatisticsCollector

createLocator() protected méthode

protected createLocator ( )

createMatchersCollection() protected méthode

protected createMatchersCollection ( PHPSpec2\Formatter\Presenter\PresenterInterface $presenter, ArgumentsUnwrapper $unwrapper )
$presenter PHPSpec2\Formatter\Presenter\PresenterInterface
$unwrapper PHPSpec2\Wrapper\ArgumentsUnwrapper

createMocker() protected méthode

protected createMocker ( )

createPresenter() protected méthode

protected createPresenter ( )

createRunner() protected méthode

protected createRunner ( MatchersCollection $matchers, PHPSpec2\Mocker\MockerInterface $mocker, ArgumentsUnwrapper $unwrapper )
$matchers PHPSpec2\Matcher\MatchersCollection
$mocker PHPSpec2\Mocker\MockerInterface
$unwrapper PHPSpec2\Wrapper\ArgumentsUnwrapper

createStatisticsCollector() protected méthode

execute() protected méthode

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