Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
22 | public function filterByDependency(WritableRepositoryInterface $repository, $dependencyName) |
||
23 | { |
||
24 | $depsRepository = $this->composerDependencies->createCompositeRepository($repository); |
||
25 | $dependentsList = array_map('reset', $depsRepository->getDependents($dependencyName)); |
||
|
|||
26 | |||
27 | return array_filter($dependentsList); |
||
28 | } |
||
30 |