| @@ 89-96 (lines=8) @@ | ||
| 86 | */ |
|
| 87 | private function displayDependantModules(DirectedGraph $dependenciesGraph, SymfonyStyle $io, array $filters, $moduleName) |
|
| 88 | { |
|
| 89 | if ($io->isVerbose()) { |
|
| 90 | if (empty($filters)) { |
|
| 91 | $io->writeln('No filters applied.'); |
|
| 92 | } else { |
|
| 93 | $io->writeln('Filters applied: ' . \implode(', ', $filters)); |
|
| 94 | } |
|
| 95 | $io->newLine(); |
|
| 96 | } |
|
| 97 | ||
| 98 | $vertices = $this->modulesHelper->filterVerticesByModuleName($dependenciesGraph->getVertices(), $filters); |
|
| 99 | $vertices = $this->filterVerticesByDependencyName($vertices, $moduleName); |
|
| @@ 83-90 (lines=8) @@ | ||
| 80 | */ |
|
| 81 | private function displayModules(DirectedGraph $dependenciesGraph, SymfonyStyle $io, array $filters) |
|
| 82 | { |
|
| 83 | if ($io->isVerbose()) { |
|
| 84 | if (empty($filters)) { |
|
| 85 | $io->writeln('No filters applied.'); |
|
| 86 | } else { |
|
| 87 | $io->writeln('Filters applied: ' . \implode(', ', $filters)); |
|
| 88 | } |
|
| 89 | $io->newLine(); |
|
| 90 | } |
|
| 91 | ||
| 92 | $vertices = $this->modulesHelper->filterVerticesByModuleName($dependenciesGraph->getVertices(), $filters); |
|
| 93 | ||