Guides

Run extends Command
in package

FinalYes

Table of Contents

Properties

$clock  : ClockInterface
$commandBus  : CommandBus
$eventDispatcher  : EventDispatcher
$logger  : Logger
$progressBarSubscriber  : ProgressBarSubscriber
$settingsManager  : SettingsManager
$themeManager  : ThemeManager

Methods

__construct()  : mixed
registerProgressBar()  : void
execute()  : int
getExclude()  : Exclude|SpecificationInterface|null
getSettingsOverriddenWithInput()  : ProjectSettings

Properties

$clock read-only

private ClockInterface $clock

$commandBus read-only

private CommandBus $commandBus

$eventDispatcher read-only

private EventDispatcher $eventDispatcher

$logger read-only

private Logger $logger

$progressBarSubscriber read-only

private ProgressBarSubscriber $progressBarSubscriber

Methods

__construct()

public __construct(CommandBus $commandBus, Logger $logger, ThemeManager $themeManager, SettingsManager $settingsManager, ClockInterface $clock, EventDispatcher $eventDispatcher, ProgressBarSubscriber $progressBarSubscriber) : mixed
Parameters
$commandBus : CommandBus
$logger : Logger
$themeManager : ThemeManager
$settingsManager : SettingsManager
$clock : ClockInterface
$eventDispatcher : EventDispatcher
$progressBarSubscriber : ProgressBarSubscriber

registerProgressBar()

public registerProgressBar(ConsoleOutputInterface $output) : void

this method will be removed in v2

Parameters
$output : ConsoleOutputInterface

execute()

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

getExclude()

private getExclude(ProjectSettings $settings[, InputInterface|null $input = null ]) : Exclude|SpecificationInterface|null
Parameters
$settings : ProjectSettings
$input : InputInterface|null = null
Return values
Exclude|SpecificationInterface|null

getSettingsOverriddenWithInput()

private getSettingsOverriddenWithInput(InputInterface $input) : ProjectSettings
Parameters
$input : InputInterface
Return values
ProjectSettings

        
On this page

Search results