Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class NpmRegistryRepository |
||
8 | { |
||
9 | /** |
||
10 | * @var Client |
||
11 | */ |
||
12 | private $client; |
||
13 | |||
14 | public function __construct(Client $client) |
||
15 | { |
||
16 | $this->client = $client; |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * @param string $path |
||
21 | * @return string |
||
22 | */ |
||
23 | public function getResourceByPath(string $path): string |
||
28 | } |
||
29 | } |