Преглед изворни кода

Show include path in show command

Jordi Boggiano пре 12 година
родитељ
комит
5edb49c067
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      src/Composer/Command/ShowCommand.php

+ 4 - 0
src/Composer/Command/ShowCommand.php

@@ -190,6 +190,10 @@ EOT
                     $output->writeln(implode(', ', $autoloads));
                 }
             }
+            if ($package->getIncludePaths()) {
+                $output->writeln('<comment>include-path</comment>');
+                $output->writeln(implode(', ', $package->getIncludePaths()));
+            }
         }
     }