Composer API
Class

Composer\DependencyResolver\Problem

class Problem

Represents a problem detected while solving dependencies

Methods

__construct(Pool $pool)

addRule(Rule $rule)

Add a rule as a reason

array getReasons()

Retrieve all reasons for this problem

string getPrettyString(array $installedMap = array())

A human readable textual representation of the problem's reasons

nextSection()

Details

at line 38
public __construct(Pool $pool)

Parameters

Pool $pool

at line 48
public addRule(Rule $rule)

Add a rule as a reason

Parameters

Rule $rule A rule which is a reason for this problem

at line 61
public array getReasons()

Retrieve all reasons for this problem

Return Value

array The problem's reasons

at line 72
public string getPrettyString(array $installedMap = array())

A human readable textual representation of the problem's reasons

Parameters

array $installedMap A map of all installed packages

Return Value

string

at line 178
public nextSection()