ProxyCommand
Class
extends
BaseCommand
Final:
Yes
Adapts migrated Symfony commands to Composer's BaseCommand contract.
Properties
: Command
Methods
: mixed
execute()
: int
Executes the proxied Symfony command through Composer's command contract.
public
__construct(Command
$command[,
array<int, string>|null
$aliases = null]) : mixed
Parameters
$command
:
Command
Description
the Symfony command adapted for Composer plugin execution
$aliases
:
array<int, string>|null
=
null
Description
the optional alias list exposed to Composer
Executes the proxied Symfony command through Composer's command contract.
protected
execute(InputInterface
$input, OutputInterface
$output) : int
Parameters
$input
:
InputInterface
Description
the Composer command input
$output
:
OutputInterface
Description
the Composer command output
Return values
int
Description
the proxied command status code