Ver Fonte

Show include path in show command

Jordi Boggiano há 12 anos atrás
pai
commit
5edb49c067
1 ficheiros alterados com 4 adições e 0 exclusões
  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()));
+            }
         }
     }