ComposerSelfUpdateRunner

Class
Read only: Yes Final: Yes

Updates DevTools through the active Composer executable.

Table of Contents

Interfaces

SelfUpdateRunnerInterface

Runs the Composer command that updates the installed DevTools package.

Constants

 = 'fast-forward/dev-tools'

Properties

Methods

 : mixed
update()

Updates the installed DevTools package.

 : int
Constants

Constants

Properties
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