Composer API
Class

Composer\DependencyResolver\Request

class Request

Methods

__construct()

install($packageName, ConstraintInterface $constraint = null)

update($packageName, ConstraintInterface $constraint = null)

remove($packageName, ConstraintInterface $constraint = null)

fix(string $packageName, ConstraintInterface $constraint = null)

Mark an existing package as being installed and having to remain installed

updateAll()

getJobs()

Details

at line 24
public __construct()

at line 29
public install($packageName, ConstraintInterface $constraint = null)

Parameters

$packageName
ConstraintInterface $constraint

at line 34
public update($packageName, ConstraintInterface $constraint = null)

Parameters

$packageName
ConstraintInterface $constraint

at line 39
public remove($packageName, ConstraintInterface $constraint = null)

Parameters

$packageName
ConstraintInterface $constraint

at line 52
public fix(string $packageName, ConstraintInterface $constraint = null)

Mark an existing package as being installed and having to remain installed

These jobs will not be tempered with by the solver

Parameters

string $packageName
ConstraintInterface $constraint

at line 69
public updateAll()

at line 74
public getJobs()