Composer API
Class

Composer\DependencyResolver\Decisions

class Decisions implements Iterator, Countable

Stores decisions on installing, removing or keeping packages

Constants

DECISION_LITERAL

DECISION_REASON

Methods

__construct($pool)

decide($literal, $level, $why)

satisfy($literal)

conflict($literal)

decided($literalOrPackageId)

undecided($literalOrPackageId)

decidedInstall($literalOrPackageId)

decisionLevel($literalOrPackageId)

decisionRule($literalOrPackageId)

atOffset($queueOffset)

validOffset($queueOffset)

lastReason()

lastLiteral()

reset()

resetToOffset($offset)

revertLast()

count()

rewind()

current()

key()

next()

valid()

isEmpty()

Details

at line 29
public __construct($pool)

Parameters

$pool

at line 35
public decide($literal, $level, $why)

Parameters

$literal
$level
$why

at line 44
public satisfy($literal)

Parameters

$literal

at line 54
public conflict($literal)

Parameters

$literal

at line 64
public decided($literalOrPackageId)

Parameters

$literalOrPackageId

at line 69
public undecided($literalOrPackageId)

Parameters

$literalOrPackageId

at line 74
public decidedInstall($literalOrPackageId)

Parameters

$literalOrPackageId

at line 81
public decisionLevel($literalOrPackageId)

Parameters

$literalOrPackageId

at line 91
public decisionRule($literalOrPackageId)

Parameters

$literalOrPackageId

at line 104
public atOffset($queueOffset)

Parameters

$queueOffset

at line 109
public validOffset($queueOffset)

Parameters

$queueOffset

at line 114
public lastReason()

at line 119
public lastLiteral()

at line 124
public reset()

at line 131
public resetToOffset($offset)

Parameters

$offset

at line 139
public revertLast()

at line 145
public count()

at line 150
public rewind()

at line 155
public current()

at line 160
public key()

at line 165
public next()

at line 170
public valid()

at line 175
public isEmpty()