ProhibitsCommand
class ProhibitsCommand extends BaseDependencyCommand (View source)
Constants
ARGUMENT_PACKAGE |
|
ARGUMENT_CONSTRAINT |
|
OPTION_RECURSIVE |
|
OPTION_TREE |
|
Properties
protected | $colors | from BaseDependencyCommand |
Methods
No description
Whether or not this command is meant to call another command.
Returns preferSource and preferDist values based on the configuration.
Configure command metadata.
Execute the command.
Assembles and prints a bottom-up table of the dependencies.
Recursively prints a tree of the selected results.
Execute the function.
Details
in BaseCommand at line 51
Composer
getComposer(bool $required = true, bool|null $disablePlugins = null)
in BaseCommand at line 72
setComposer(Composer $composer)
in BaseCommand at line 80
resetComposer()
Removes the cached composer instance
in BaseCommand at line 93
bool
isProxyCommand()
Whether or not this command is meant to call another command.
This is mainly needed to avoid duplicated warnings messages.
in BaseCommand at line 101
IOInterface
getIO()
in BaseCommand at line 119
setIO(IOInterface $io)
in BaseCommand at line 127
protected
initialize(InputInterface $input, OutputInterface $output)
{@inheritDoc}
in BaseCommand at line 155
protected bool[]
getPreferredInstallOptions(Config $config, InputInterface $input, bool $keepVcsRequiresPreferSource = false)
Returns preferSource and preferDist values based on the configuration.
at line 26
protected
configure()
Configure command metadata.
in BaseDependencyCommand at line 67
protected int|null
doExecute(InputInterface $input, OutputInterface $output, bool $inverted = false)
Execute the command.
protected
printTable(OutputInterface $output, array $results)
Assembles and prints a bottom-up table of the dependencies.
protected
initStyles(OutputInterface $output)
Init styles for tree
protected
printTree(array $results, string $prefix = '', int $level = 1)
Recursively prints a tree of the selected results.
at line 52
protected int|null
execute(InputInterface $input, OutputInterface $output)
Execute the function.