class RemoteCommandProxy extends Command (View source)

Create a placeholder proxy command to represent an unknown command.

We use these only when executing remote commands that do not exist locally. We will let the remote end decide whether these will be "command not found," or some other behavior, as the remote end might have additional functionality installed.

Also note that, for remote commands, we create the proxy command prior to attempting to bootstrap Drupal further, so the proxy command may be used in place of some command name that is available only for Drupal sites (e.g. pm:list and friends, etc.).

Properties

protected RedispatchHook $redispatchHook

Methods

__construct($name, RedispatchHook $redispatchHook)

No description

execute(InputInterface $input, OutputInterface $output)

No description

Details

__construct($name, RedispatchHook $redispatchHook)

Parameters

$name
RedispatchHook $redispatchHook

protected execute(InputInterface $input, OutputInterface $output)

Parameters

InputInterface $input
OutputInterface $output