1
0
Fork 0

Make debug solver methods protected

pull/715/head
Nils Adermann 2012-05-20 15:49:58 +02:00
parent 2dfea8a5e0
commit fa7bd35413
1 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ namespace Composer\DependencyResolver;
*/
class DebugSolver extends Solver
{
private function printDecisionMap()
protected function printDecisionMap()
{
echo "\nDecisionMap: \n";
foreach ($this->decisionMap as $packageId => $level) {
@ -35,16 +35,16 @@ class DebugSolver extends Solver
echo "\n";
}
private function printDecisionQueue()
protected function printDecisionQueue()
{
echo "DecisionQueue: \n";
foreach ($this->decisionQueue as $i => $literal) {
echo ' ' . $literal . ' ' . $this->decisionQueueWhy[$i]." level ".$this->decisionMap[$literal->getPackageId()]."\n";
echo ' ' . $this->pool->literalToString($literal) . ' ' . $this->decisionQueueWhy[$i]." level ".$this->decisionMap[abs($literal)]."\n";
}
echo "\n";
}
private function printWatches()
protected function printWatches()
{
echo "\nWatches:\n";
foreach ($this->watches as $literalId => $watch) {