| 1 | <?php declare(strict_types=1); |
||
| 17 | class Pip implements DependencyManager |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $packageFileName; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Constructor. |
||
| 26 | */ |
||
| 27 | public function __construct() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Fetch the dependencies. |
||
| 34 | * |
||
| 35 | * @param RepositoryManager $repositoryManager |
||
| 36 | * @param Project $project |
||
| 37 | * |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | public function fetchDependencies(RepositoryManager $repositoryManager, Project $project): array |
||
| 60 | |||
| 61 | /** |
||
| 62 | * Get the name of the fetcher. |
||
| 63 | * |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | public function getName(): string |
||
| 70 | } |
||
| 71 |