You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
748 B
PHP

<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\DependencyResolver;
/**
* @author Nils Adermann <naderman@naderman.de>
*/
interface PolicyInterface
{
function allowUninstall();
function allowDowngrade();
function versionCompare(Package $a, Package $b, $operator);
function findUpdatePackages(Solver $solver, Pool $pool, RepositoryInterface $repo, Package $package, $allowAll);
function installable(Solver $solver, Pool $pool, RepositoryInterface $repo, Package $package);
function selectPreferedPackages(array $literals);
}