| 1 | <?php declare(strict_types = 1); |
||
| 9 | class DependencyLoader implements DependencyLoaderContract |
||
| 10 | { |
||
| 11 | const LINES_BEFORE_DEPENDENCY_VERSIONS = 6; |
||
| 12 | |||
| 13 | public function loadDependencies(string $composer, string $project): array |
||
| 21 | |||
| 22 | private function runComposerLicenseCommand(string $composer, string $project): array |
||
| 28 | |||
| 29 | private function stripHeadersFromOutput(array $output): array |
||
| 33 | |||
| 34 | private function splitColumnsIntoDependencies(array $output): array |
||
| 45 | |||
| 46 | protected function exec(string $command) |
||
| 52 | } |
||
| 53 |