Constants

RULE_INTERNAL_ALLOW_UPDATE

RULE_INTERNAL_ALLOW_UPDATE = 1

RULE_JOB_INSTALL

RULE_JOB_INSTALL = 2

RULE_JOB_REMOVE

RULE_JOB_REMOVE = 3

RULE_PACKAGE_CONFLICT

RULE_PACKAGE_CONFLICT = 6

RULE_PACKAGE_REQUIRES

RULE_PACKAGE_REQUIRES = 7

RULE_PACKAGE_OBSOLETES

RULE_PACKAGE_OBSOLETES = 8

RULE_INSTALLED_PACKAGE_OBSOLETES

RULE_INSTALLED_PACKAGE_OBSOLETES = 9

RULE_PACKAGE_SAME_NAME

RULE_PACKAGE_SAME_NAME = 10

RULE_PACKAGE_IMPLICIT_OBSOLETES

RULE_PACKAGE_IMPLICIT_OBSOLETES = 11

RULE_LEARNED

RULE_LEARNED = 12

RULE_PACKAGE_ALIAS

RULE_PACKAGE_ALIAS = 13

BITFIELD_TYPE

BITFIELD_TYPE = 0

BITFIELD_REASON

BITFIELD_REASON = 8

BITFIELD_DISABLED

BITFIELD_DISABLED = 16

Properties

$bitfield

$bitfield : 

Type

$job

$job : 

Type

$reasonData

$reasonData : 

Type

Methods

__construct()

__construct(integer  $reason, \Composer\Package\Link|\Composer\Package\PackageInterface  $reasonData, array  $job = null) 

Parameters

integer $reason

A RULE_* constant describing the reason for generating this rule

\Composer\Package\Link|\Composer\Package\PackageInterface $reasonData
array $job

The job this rule was created from

getLiterals()

getLiterals() 

getHash()

getHash() 

getJob()

getJob() 

getReason()

getReason() 

getReasonData()

getReasonData() 

getRequiredPackage()

getRequiredPackage() 

setType()

setType(  $type) 

Parameters

$type

getType()

getType() 

disable()

disable() 

enable()

enable() 

isDisabled()

isDisabled() 

isEnabled()

isEnabled() 

isAssertion()

isAssertion() 

getPrettyString()

getPrettyString(\Composer\DependencyResolver\Pool  $pool, array  $installedMap = array()) 

Parameters

\Composer\DependencyResolver\Pool $pool
array $installedMap

formatPackagesUnique()

formatPackagesUnique(\Composer\DependencyResolver\Pool  $pool, array  $packages) : string

Parameters

\Composer\DependencyResolver\Pool $pool
array $packages

Returns

string