class Decisions implements Iterator, Countable (View source)

Stores decisions on installing, removing or keeping packages

Constants

DECISION_LITERAL

DECISION_REASON

Properties

protected $pool
protected $decisionMap
protected $decisionQueue

Methods

__construct($pool)

No description

decide($literal, $level, $why)

No description

satisfy($literal)

No description

conflict($literal)

No description

decided($literalOrPackageId)

No description

undecided($literalOrPackageId)

No description

decidedInstall($literalOrPackageId)

No description

decisionLevel($literalOrPackageId)

No description

decisionRule($literalOrPackageId)

No description

atOffset($queueOffset)

No description

validOffset($queueOffset)

No description

lastReason()

No description

lastLiteral()

No description

reset()

No description

resetToOffset($offset)

No description

revertLast()

No description

count()

No description

rewind()

No description

current()

No description

key()

No description

next()

No description

valid()

No description

isEmpty()

No description

addDecision($literal, $level)

No description

Details

__construct($pool)

Parameters

$pool

decide($literal, $level, $why)

Parameters

$literal
$level
$why

satisfy($literal)

Parameters

$literal

conflict($literal)

Parameters

$literal

decided($literalOrPackageId)

Parameters

$literalOrPackageId

undecided($literalOrPackageId)

Parameters

$literalOrPackageId

decidedInstall($literalOrPackageId)

Parameters

$literalOrPackageId

decisionLevel($literalOrPackageId)

Parameters

$literalOrPackageId

decisionRule($literalOrPackageId)

Parameters

$literalOrPackageId

atOffset($queueOffset)

Parameters

$queueOffset

validOffset($queueOffset)

Parameters

$queueOffset

lastReason()

lastLiteral()

reset()

resetToOffset($offset)

Parameters

$offset

revertLast()

count()

rewind()

current()

key()

next()

valid()

isEmpty()

protected addDecision($literal, $level)

Parameters

$literal
$level