Total Complexity | 3 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class PubmedWebsite extends Resource |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | protected $url = 'https://www.ncbi.nlm.nih.gov/pubmed/'; |
||
11 | |||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | protected $queryStringParameters = [ |
||
16 | 'query' => [ |
||
17 | 'term' => '', |
||
18 | ], |
||
19 | ]; |
||
20 | |||
21 | /** |
||
22 | * @return array |
||
23 | */ |
||
24 | public function getRequestOptions(): array |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param string $document |
||
33 | * @return array |
||
34 | */ |
||
35 | public function getDataFrom(string $document): array |
||
46 |