Composer API
Interface

Composer\DependencyResolver\PolicyInterface

interface PolicyInterface

Methods

versionCompare(PackageInterface $a, PackageInterface $b, $operator)

findUpdatePackages(Pool $pool, array $installedMap, PackageInterface $package)

selectPreferredPackages(Pool $pool, array $installedMap, array $literals, $requiredPackage = null)

Details

at line 22
public versionCompare(PackageInterface $a, PackageInterface $b, $operator)

Parameters

PackageInterface $a
PackageInterface $b
$operator

at line 24
public findUpdatePackages(Pool $pool, array $installedMap, PackageInterface $package)

Parameters

Pool $pool
array $installedMap
PackageInterface $package

at line 26
public selectPreferredPackages(Pool $pool, array $installedMap, array $literals, $requiredPackage = null)

Parameters

Pool $pool
array $installedMap
array $literals
$requiredPackage