Composer API
Class

Composer\Console\Application

class Application extends Application

The console application that handles the commands

Methods

__construct()

run(InputInterface $input = null, OutputInterface $output = null)

{@inheritDoc}

doRun(InputInterface $input, OutputInterface $output)

{@inheritDoc}

Composer getComposer(bool $required = true, bool|null $disablePlugins = null)

resetComposer()

Removes the cached composer instance

IOInterface getIO()

getHelp()

getLongVersion()

{@inheritDoc}

Details

at line 61
public __construct()

at line 94
public run(InputInterface $input = null, OutputInterface $output = null)

{@inheritDoc}

Parameters

InputInterface $input
OutputInterface $output

at line 106
public doRun(InputInterface $input, OutputInterface $output)

{@inheritDoc}

Parameters

InputInterface $input
OutputInterface $output

at line 325
public Composer getComposer(bool $required = true, bool|null $disablePlugins = null)

Parameters

bool $required
bool|null $disablePlugins

Return Value

Composer

Exceptions

JsonValidationException

at line 352
public resetComposer()

Removes the cached composer instance

at line 360
public IOInterface getIO()

Return Value

IOInterface

at line 365
public getHelp()

at line 414
public getLongVersion()

{@inheritDoc}