SelfUpdateRunnerInterface

Interface

Runs the Composer command that updates the installed DevTools package.

Table of Contents

Methods

update()

Updates the installed DevTools package.

 : int
Methods

update()

Public

Updates the installed DevTools package.

public update( bool  $global, OutputInterface  $output) : int
Parameters
$global : bool

Description

whether the update should target Composer's global project

$output : OutputInterface

Description

the command output used by the update process

Return values
int

Description

the Composer process status code